Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

xtensa: drop unneeded platform/hardware.h headers

platform/hardware.h no longer supply any information for processor.h,
vectors.h, setup.c or vmlinux.lds.S, don't include it.
This header is now empty in the platforms/iss, so remove it altogether.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>

+1 -23
-1
arch/xtensa/include/asm/processor.h
··· 11 11 #define _XTENSA_PROCESSOR_H 12 12 13 13 #include <variant/core.h> 14 - #include <platform/hardware.h> 15 14 16 15 #include <linux/compiler.h> 17 16 #include <asm/ptrace.h>
-1
arch/xtensa/include/asm/vectors.h
··· 19 19 #define _XTENSA_VECTORS_H 20 20 21 21 #include <variant/core.h> 22 - #include <platform/hardware.h> 23 22 #include <asm/kmem_layout.h> 24 23 25 24 #if XCHAL_HAVE_PTP_MMU
-2
arch/xtensa/kernel/setup.c
··· 47 47 #include <asm/smp.h> 48 48 #include <asm/sysmem.h> 49 49 50 - #include <platform/hardware.h> 51 - 52 50 #if defined(CONFIG_VGA_CONSOLE) || defined(CONFIG_DUMMY_CONSOLE) 53 51 struct screen_info screen_info = { 54 52 .orig_x = 0,
+1 -1
arch/xtensa/kernel/vmlinux.lds.S
··· 20 20 21 21 #include <asm/vectors.h> 22 22 #include <variant/core.h> 23 - #include <platform/hardware.h> 23 + 24 24 OUTPUT_ARCH(xtensa) 25 25 ENTRY(_start) 26 26
-18
arch/xtensa/platforms/iss/include/platform/hardware.h
··· 1 - /* 2 - * include/asm-xtensa/platform-iss/hardware.h 3 - * 4 - * This file is subject to the terms and conditions of the GNU General Public 5 - * License. See the file "COPYING" in the main directory of this archive 6 - * for more details. 7 - * 8 - * Copyright (C) 2001 Tensilica Inc. 9 - */ 10 - 11 - /* 12 - * This file contains the default configuration of ISS. 13 - */ 14 - 15 - #ifndef _XTENSA_PLATFORM_ISS_HARDWARE_H 16 - #define _XTENSA_PLATFORM_ISS_HARDWARE_H 17 - 18 - #endif /* _XTENSA_PLATFORM_ISS_HARDWARE_H */