diff options
author | Arnd Bergmann <arnd@arndb.de> | 2014-12-04 10:53:11 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2014-12-04 10:53:11 -0500 |
commit | 3d2660694cd1b3d3a2442d46859e7ea740a551d4 (patch) | |
tree | 4fcd408bf3df2c2f96807e5949bac75bf8c3d6a0 | |
parent | 1f1dd5889cf163f4b2302738bd22cde9e32125da (diff) | |
parent | 2b175186fbdaa767327e743bd6215f709379272a (diff) |
Merge tag 'zynq-cleanup-for-3.19' of https://github.com/Xilinx/linux-xlnx into next/cleanup
Pull "arm: Xilinx Zynq cleanup patches for v3.19" from Michal Simek:
- Remove unused file and declaration
* tag 'zynq-cleanup-for-3.19' of https://github.com/Xilinx/linux-xlnx:
ARM: zynq: Remove secondary_startup() declaration from header
ARM: zynq: Actually remove hotplug.c
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
-rw-r--r-- | arch/arm/mach-zynq/Makefile | 2 | ||||
-rw-r--r-- | arch/arm/mach-zynq/common.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-zynq/hotplug.c | 14 |
3 files changed, 0 insertions, 17 deletions
diff --git a/arch/arm/mach-zynq/Makefile b/arch/arm/mach-zynq/Makefile index c85fb3f7d5cd..b03a97eb7501 100644 --- a/arch/arm/mach-zynq/Makefile +++ b/arch/arm/mach-zynq/Makefile | |||
@@ -4,6 +4,4 @@ | |||
4 | 4 | ||
5 | # Common support | 5 | # Common support |
6 | obj-y := common.o slcr.o pm.o | 6 | obj-y := common.o slcr.o pm.o |
7 | CFLAGS_REMOVE_hotplug.o =-march=armv6k | ||
8 | CFLAGS_hotplug.o =-Wa,-march=armv7-a -mcpu=cortex-a9 | ||
9 | obj-$(CONFIG_SMP) += headsmp.o platsmp.o | 7 | obj-$(CONFIG_SMP) += headsmp.o platsmp.o |
diff --git a/arch/arm/mach-zynq/common.h b/arch/arm/mach-zynq/common.h index 2bc71273c73c..382c60e9aa16 100644 --- a/arch/arm/mach-zynq/common.h +++ b/arch/arm/mach-zynq/common.h | |||
@@ -29,7 +29,6 @@ extern void zynq_slcr_cpu_state_write(int cpu, bool die); | |||
29 | extern u32 zynq_slcr_get_device_id(void); | 29 | extern u32 zynq_slcr_get_device_id(void); |
30 | 30 | ||
31 | #ifdef CONFIG_SMP | 31 | #ifdef CONFIG_SMP |
32 | extern void secondary_startup(void); | ||
33 | extern char zynq_secondary_trampoline; | 32 | extern char zynq_secondary_trampoline; |
34 | extern char zynq_secondary_trampoline_jump; | 33 | extern char zynq_secondary_trampoline_jump; |
35 | extern char zynq_secondary_trampoline_end; | 34 | extern char zynq_secondary_trampoline_end; |
diff --git a/arch/arm/mach-zynq/hotplug.c b/arch/arm/mach-zynq/hotplug.c deleted file mode 100644 index b685c89f11e4..000000000000 --- a/arch/arm/mach-zynq/hotplug.c +++ /dev/null | |||
@@ -1,14 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (C) 2012-2013 Xilinx | ||
3 | * | ||
4 | * based on linux/arch/arm/mach-realview/hotplug.c | ||
5 | * | ||
6 | * Copyright (C) 2002 ARM Ltd. | ||
7 | * All Rights Reserved | ||
8 | * | ||
9 | * This program is free software; you can redistribute it and/or modify | ||
10 | * it under the terms of the GNU General Public License version 2 as | ||
11 | * published by the Free Software Foundation. | ||
12 | */ | ||
13 | #include <asm/proc-fns.h> | ||
14 | |||