[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20201110155600.3286840-1-geert+renesas@glider.be>
Date: Tue, 10 Nov 2020 16:56:00 +0100
From: Geert Uytterhoeven <geert+renesas@...der.be>
To: Mark Salter <msalter@...hat.com>,
Aurelien Jacquiot <jacquiot.aurelien@...il.com>
Cc: linux-c6x-dev@...ux-c6x.org, linux-kernel@...r.kernel.org,
Geert Uytterhoeven <geert+renesas@...der.be>
Subject: [PATCH resend] c6x: Remove unused <asm/procinfo.h>
C6X never used <asm/procinfo.h>, which was presumably opied from ARM.
Signed-off-by: Geert Uytterhoeven <geert+renesas@...der.be>
---
arch/c6x/include/asm/procinfo.h | 24 ------------------------
arch/c6x/kernel/asm-offsets.c | 1 -
2 files changed, 25 deletions(-)
delete mode 100644 arch/c6x/include/asm/procinfo.h
diff --git a/arch/c6x/include/asm/procinfo.h b/arch/c6x/include/asm/procinfo.h
deleted file mode 100644
index aaa3cb902c43fdb9..0000000000000000
--- a/arch/c6x/include/asm/procinfo.h
+++ /dev/null
@@ -1,24 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0-only */
-/*
- * Copyright (C) 2010 Texas Instruments Incorporated
- * Author: Mark Salter (msalter@...hat.com)
- */
-#ifndef _ASM_C6X_PROCINFO_H
-#define _ASM_C6X_PROCINFO_H
-
-#ifdef __KERNEL__
-
-struct proc_info_list {
- unsigned int cpu_val;
- unsigned int cpu_mask;
- const char *arch_name;
- const char *elf_name;
- unsigned int elf_hwcap;
-};
-
-#else /* __KERNEL__ */
-#include <asm/elf.h>
-#warning "Please include asm/elf.h instead"
-#endif /* __KERNEL__ */
-
-#endif /* _ASM_C6X_PROCINFO_H */
diff --git a/arch/c6x/kernel/asm-offsets.c b/arch/c6x/kernel/asm-offsets.c
index 4a264ef87dcb8bb3..e690a5a75e0e5821 100644
--- a/arch/c6x/kernel/asm-offsets.c
+++ b/arch/c6x/kernel/asm-offsets.c
@@ -7,7 +7,6 @@
#include <linux/sched.h>
#include <linux/thread_info.h>
-#include <asm/procinfo.h>
#include <linux/kbuild.h>
#include <linux/unistd.h>
--
2.25.1
Powered by blists - more mailing lists