lkml.org 
[lkml]   [2020]   [Nov]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH resend] c6x: Remove unused <asm/procinfo.h>
Date
C6X never used <asm/procinfo.h>, which was presumably opied from ARM.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.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@redhat.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
\
 
 \ /
  Last update: 2020-11-10 16:56    [W:0.030 / U:0.264 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site