diff options
author | Arnd Bergmann <arnd@arndb.de> | 2015-03-04 16:51:35 -0500 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2015-03-04 16:52:16 -0500 |
commit | 756c08b068712dec875614f27ccbc38fdeda4fe7 (patch) | |
tree | 9e2753ba488b438272fd5b8f15ae5e6761ea1b33 /arch | |
parent | 13a7a6ac0a11197edcd0f756a035f472b42cdf8b (diff) | |
parent | fd9454ab51fa92f43ae5b7a71c42f2ee8417c2a2 (diff) |
Merge tag 'renesas-soc-cleanup-for-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas into next/multiplatform
Pull "Renesas ARM Based SoC Cleanup for v4.1" from Simon Horman:
* Remove redundant cpu_disable implementation from r8a7779 SoC
* Remove mach/{uncompress,clkdev,system}.h
* tag 'renesas-soc-cleanup-for-v4.1' of git://git.kernel.org/pub/scm/linux/kernel/git/horms/renesas:
ARM: shmobile: r8a7779: Remove redundant cpu_disable implementation
ARM: shmobile: Remove mach/uncompress.h
ARM: shmobile: Remove mach/clkdev.h
ARM: shmobile: Remove mach/system.h
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/Kconfig | 1 | ||||
-rw-r--r-- | arch/arm/Kconfig.debug | 3 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/clock.c | 11 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/clkdev.h | 7 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/system.h | 11 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/include/mach/uncompress.h | 19 | ||||
-rw-r--r-- | arch/arm/mach-shmobile/smp-r8a7779.c | 7 |
7 files changed, 2 insertions, 57 deletions
diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig index 9f1f09a2bc9b..495fb7ace4d8 100644 --- a/arch/arm/Kconfig +++ b/arch/arm/Kconfig | |||
@@ -646,7 +646,6 @@ config ARCH_SHMOBILE_LEGACY | |||
646 | select GENERIC_CLOCKEVENTS | 646 | select GENERIC_CLOCKEVENTS |
647 | select HAVE_ARM_SCU if SMP | 647 | select HAVE_ARM_SCU if SMP |
648 | select HAVE_ARM_TWD if SMP | 648 | select HAVE_ARM_TWD if SMP |
649 | select HAVE_MACH_CLKDEV | ||
650 | select HAVE_SMP | 649 | select HAVE_SMP |
651 | select MIGHT_HAVE_CACHE_L2X0 | 650 | select MIGHT_HAVE_CACHE_L2X0 |
652 | select MULTI_IRQ_HANDLER | 651 | select MULTI_IRQ_HANDLER |
diff --git a/arch/arm/Kconfig.debug b/arch/arm/Kconfig.debug index 970de7518341..1ca8dc75a745 100644 --- a/arch/arm/Kconfig.debug +++ b/arch/arm/Kconfig.debug | |||
@@ -1573,7 +1573,8 @@ config DEBUG_UNCOMPRESS | |||
1573 | config UNCOMPRESS_INCLUDE | 1573 | config UNCOMPRESS_INCLUDE |
1574 | string | 1574 | string |
1575 | default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \ | 1575 | default "debug/uncompress.h" if ARCH_MULTIPLATFORM || ARCH_MSM || \ |
1576 | PLAT_SAMSUNG || ARCH_EFM32 | 1576 | PLAT_SAMSUNG || ARCH_EFM32 || \ |
1577 | ARCH_SHMOBILE_LEGACY | ||
1577 | default "mach/uncompress.h" | 1578 | default "mach/uncompress.h" |
1578 | 1579 | ||
1579 | config EARLY_PRINTK | 1580 | config EARLY_PRINTK |
diff --git a/arch/arm/mach-shmobile/clock.c b/arch/arm/mach-shmobile/clock.c index 34f056fc3756..68c2d06d0eaa 100644 --- a/arch/arm/mach-shmobile/clock.c +++ b/arch/arm/mach-shmobile/clock.c | |||
@@ -45,14 +45,3 @@ int __init shmobile_clk_init(void) | |||
45 | 45 | ||
46 | return 0; | 46 | return 0; |
47 | } | 47 | } |
48 | |||
49 | int __clk_get(struct clk *clk) | ||
50 | { | ||
51 | return 1; | ||
52 | } | ||
53 | EXPORT_SYMBOL(__clk_get); | ||
54 | |||
55 | void __clk_put(struct clk *clk) | ||
56 | { | ||
57 | } | ||
58 | EXPORT_SYMBOL(__clk_put); | ||
diff --git a/arch/arm/mach-shmobile/include/mach/clkdev.h b/arch/arm/mach-shmobile/include/mach/clkdev.h deleted file mode 100644 index 36d0163a857a..000000000000 --- a/arch/arm/mach-shmobile/include/mach/clkdev.h +++ /dev/null | |||
@@ -1,7 +0,0 @@ | |||
1 | #ifndef __ASM_MACH_CLKDEV_H | ||
2 | #define __ASM_MACH_CLKDEV_H | ||
3 | |||
4 | int __clk_get(struct clk *clk); | ||
5 | void __clk_put(struct clk *clk); | ||
6 | |||
7 | #endif /* __ASM_MACH_CLKDEV_H */ | ||
diff --git a/arch/arm/mach-shmobile/include/mach/system.h b/arch/arm/mach-shmobile/include/mach/system.h deleted file mode 100644 index 540eaff08f34..000000000000 --- a/arch/arm/mach-shmobile/include/mach/system.h +++ /dev/null | |||
@@ -1,11 +0,0 @@ | |||
1 | #ifndef __ASM_ARCH_SYSTEM_H | ||
2 | #define __ASM_ARCH_SYSTEM_H | ||
3 | |||
4 | #include <asm/system_misc.h> | ||
5 | |||
6 | static inline void arch_reset(char mode, const char *cmd) | ||
7 | { | ||
8 | soft_restart(0); | ||
9 | } | ||
10 | |||
11 | #endif | ||
diff --git a/arch/arm/mach-shmobile/include/mach/uncompress.h b/arch/arm/mach-shmobile/include/mach/uncompress.h deleted file mode 100644 index f1aee56781e7..000000000000 --- a/arch/arm/mach-shmobile/include/mach/uncompress.h +++ /dev/null | |||
@@ -1,19 +0,0 @@ | |||
1 | #ifndef __ASM_MACH_UNCOMPRESS_H | ||
2 | #define __ASM_MACH_UNCOMPRESS_H | ||
3 | |||
4 | /* | ||
5 | * This does not append a newline | ||
6 | */ | ||
7 | static void putc(int c) | ||
8 | { | ||
9 | } | ||
10 | |||
11 | static inline void flush(void) | ||
12 | { | ||
13 | } | ||
14 | |||
15 | static void arch_decomp_setup(void) | ||
16 | { | ||
17 | } | ||
18 | |||
19 | #endif /* __ASM_MACH_UNCOMPRESS_H */ | ||
diff --git a/arch/arm/mach-shmobile/smp-r8a7779.c b/arch/arm/mach-shmobile/smp-r8a7779.c index 9fc280e24ef4..01f792fcb220 100644 --- a/arch/arm/mach-shmobile/smp-r8a7779.c +++ b/arch/arm/mach-shmobile/smp-r8a7779.c | |||
@@ -124,19 +124,12 @@ static int r8a7779_cpu_kill(unsigned int cpu) | |||
124 | 124 | ||
125 | return 0; | 125 | return 0; |
126 | } | 126 | } |
127 | |||
128 | static int r8a7779_cpu_disable(unsigned int cpu) | ||
129 | { | ||
130 | /* only CPU1->3 have power domains, do not allow hotplug of CPU0 */ | ||
131 | return cpu == 0 ? -EPERM : 0; | ||
132 | } | ||
133 | #endif /* CONFIG_HOTPLUG_CPU */ | 127 | #endif /* CONFIG_HOTPLUG_CPU */ |
134 | 128 | ||
135 | struct smp_operations r8a7779_smp_ops __initdata = { | 129 | struct smp_operations r8a7779_smp_ops __initdata = { |
136 | .smp_prepare_cpus = r8a7779_smp_prepare_cpus, | 130 | .smp_prepare_cpus = r8a7779_smp_prepare_cpus, |
137 | .smp_boot_secondary = r8a7779_boot_secondary, | 131 | .smp_boot_secondary = r8a7779_boot_secondary, |
138 | #ifdef CONFIG_HOTPLUG_CPU | 132 | #ifdef CONFIG_HOTPLUG_CPU |
139 | .cpu_disable = r8a7779_cpu_disable, | ||
140 | .cpu_die = shmobile_smp_scu_cpu_die, | 133 | .cpu_die = shmobile_smp_scu_cpu_die, |
141 | .cpu_kill = r8a7779_cpu_kill, | 134 | .cpu_kill = r8a7779_cpu_kill, |
142 | #endif | 135 | #endif |