Skip to content

Commit 7b9dd47

Browse files
author
Russell King
committed
Merge branch 'restart' into for-linus
Conflicts: arch/arm/mach-exynos/cpu.c The changes to arch/arm/mach-exynos/cpu.c were moved to mach-exynos/common.c.
2 parents 2e0e943 + 0575fb7 commit 7b9dd47

592 files changed

Lines changed: 3087 additions & 5513 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎MAINTAINERS‎

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1124,13 +1124,6 @@ S: Supported
11241124
F: arch/arm/mach-shmobile/
11251125
F: drivers/sh/
11261126

1127-
ARM/TELECHIPS ARM ARCHITECTURE
1128-
M: "Hans J. Koch" <hjk@hansjkoch.de>
1129-
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)
1130-
S: Maintained
1131-
F: arch/arm/plat-tcc/
1132-
F: arch/arm/mach-tcc8k/
1133-
11341127
ARM/TECHNOLOGIC SYSTEMS TS7250 MACHINE SUPPORT
11351128
M: Lennert Buytenhek <kernel@wantstofly.org>
11361129
L: linux-arm-kernel@lists.infradead.org (moderated for non-subscribers)

‎arch/arm/Kconfig‎

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -877,16 +877,6 @@ config ARCH_SHARK
877877
Support for the StrongARM based Digital DNARD machine, also known
878878
as "Shark" (<http://www.shark-linux.de/shark.html>).
879879

880-
config ARCH_TCC_926
881-
bool "Telechips TCC ARM926-based systems"
882-
select CLKSRC_MMIO
883-
select CPU_ARM926T
884-
select HAVE_CLK
885-
select CLKDEV_LOOKUP
886-
select GENERIC_CLOCKEVENTS
887-
help
888-
Support for Telechips TCC ARM926-based systems.
889-
890880
config ARCH_U300
891881
bool "ST-Ericsson U300 Series"
892882
depends on MMU
@@ -1073,8 +1063,6 @@ source "arch/arm/plat-s5p/Kconfig"
10731063

10741064
source "arch/arm/plat-spear/Kconfig"
10751065

1076-
source "arch/arm/plat-tcc/Kconfig"
1077-
10781066
if ARCH_S3C2410
10791067
source "arch/arm/mach-s3c2410/Kconfig"
10801068
source "arch/arm/mach-s3c2412/Kconfig"

‎arch/arm/Makefile‎

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,6 @@ machine-$(CONFIG_ARCH_EXYNOS4) := exynos
184184
machine-$(CONFIG_ARCH_SA1100) := sa1100
185185
machine-$(CONFIG_ARCH_SHARK) := shark
186186
machine-$(CONFIG_ARCH_SHMOBILE) := shmobile
187-
machine-$(CONFIG_ARCH_TCC8K) := tcc8k
188187
machine-$(CONFIG_ARCH_TEGRA) := tegra
189188
machine-$(CONFIG_ARCH_U300) := u300
190189
machine-$(CONFIG_ARCH_U8500) := ux500
@@ -204,7 +203,6 @@ machine-$(CONFIG_ARCH_ZYNQ) := zynq
204203
plat-$(CONFIG_ARCH_MXC) := mxc
205204
plat-$(CONFIG_ARCH_OMAP) := omap
206205
plat-$(CONFIG_ARCH_S3C64XX) := samsung
207-
plat-$(CONFIG_ARCH_TCC_926) := tcc
208206
plat-$(CONFIG_ARCH_ZYNQ) := versatile
209207
plat-$(CONFIG_PLAT_IOP) := iop
210208
plat-$(CONFIG_PLAT_NOMADIK) := nomadik

‎arch/arm/include/asm/hardware/iop3xx.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ extern int iop3xx_get_init_atu(void);
234234
void iop3xx_map_io(void);
235235
void iop_init_cp6_handler(void);
236236
void iop_init_time(unsigned long tickrate);
237+
void iop3xx_restart(char, const char *);
237238

238239
static inline u32 read_tmr0(void)
239240
{

‎arch/arm/include/asm/system.h‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ extern void __show_regs(struct pt_regs *);
108108
extern int __pure cpu_architecture(void);
109109
extern void cpu_init(void);
110110

111-
void arm_machine_restart(char mode, const char *cmd);
112111
void soft_restart(unsigned long);
113112
extern void (*arm_pm_restart)(char str, const char *cmd);
114113

‎arch/arm/kernel/process.c‎

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,14 +147,8 @@ void soft_restart(unsigned long addr)
147147
BUG();
148148
}
149149

150-
void arm_machine_restart(char mode, const char *cmd)
150+
static void null_restart(char mode, const char *cmd)
151151
{
152-
/* Disable interrupts first */
153-
local_irq_disable();
154-
local_fiq_disable();
155-
156-
/* Call the architecture specific reboot code. */
157-
arch_reset(mode, cmd);
158152
}
159153

160154
/*
@@ -163,7 +157,7 @@ void arm_machine_restart(char mode, const char *cmd)
163157
void (*pm_power_off)(void);
164158
EXPORT_SYMBOL(pm_power_off);
165159

166-
void (*arm_pm_restart)(char str, const char *cmd) = arm_machine_restart;
160+
void (*arm_pm_restart)(char str, const char *cmd) = null_restart;
167161
EXPORT_SYMBOL_GPL(arm_pm_restart);
168162

169163
static void do_nothing(void *unused)

‎arch/arm/mach-at91/at91cap9.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ static struct at91_gpio_bank at91cap9_gpio[] = {
313313
}
314314
};
315315

316-
static void at91cap9_reset(void)
316+
static void at91cap9_restart(char mode, const char *cmd)
317317
{
318318
at91_sys_write(AT91_RSTC_CR, AT91_RSTC_KEY | AT91_RSTC_PROCRST | AT91_RSTC_PERRST);
319319
}
@@ -335,7 +335,7 @@ static void __init at91cap9_map_io(void)
335335

336336
static void __init at91cap9_initialize(void)
337337
{
338-
at91_arch_reset = at91cap9_reset;
338+
arm_pm_restart = at91cap9_restart;
339339
pm_power_off = at91cap9_poweroff;
340340
at91_extern_irq = (1 << AT91CAP9_ID_IRQ0) | (1 << AT91CAP9_ID_IRQ1);
341341

‎arch/arm/mach-at91/at91rm9200.c‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ static struct at91_gpio_bank at91rm9200_gpio[] = {
288288
}
289289
};
290290

291-
static void at91rm9200_reset(void)
291+
static void at91rm9200_restart(char mode, const char *cmd)
292292
{
293293
/*
294294
* Perform a hardware reset with the use of the Watchdog timer.
@@ -309,7 +309,7 @@ static void __init at91rm9200_map_io(void)
309309

310310
static void __init at91rm9200_initialize(void)
311311
{
312-
at91_arch_reset = at91rm9200_reset;
312+
arm_pm_restart = at91rm9200_restart;
313313
at91_extern_irq = (1 << AT91RM9200_ID_IRQ0) | (1 << AT91RM9200_ID_IRQ1)
314314
| (1 << AT91RM9200_ID_IRQ2) | (1 << AT91RM9200_ID_IRQ3)
315315
| (1 << AT91RM9200_ID_IRQ4) | (1 << AT91RM9200_ID_IRQ5)

‎arch/arm/mach-at91/at91sam9260.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ static void __init at91sam9260_map_io(void)
327327

328328
static void __init at91sam9260_initialize(void)
329329
{
330-
at91_arch_reset = at91sam9_alt_reset;
330+
arm_pm_restart = at91sam9_alt_restart;
331331
pm_power_off = at91sam9260_poweroff;
332332
at91_extern_irq = (1 << AT91SAM9260_ID_IRQ0) | (1 << AT91SAM9260_ID_IRQ1)
333333
| (1 << AT91SAM9260_ID_IRQ2);

‎arch/arm/mach-at91/at91sam9261.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ static void __init at91sam9261_map_io(void)
287287

288288
static void __init at91sam9261_initialize(void)
289289
{
290-
at91_arch_reset = at91sam9_alt_reset;
290+
arm_pm_restart = at91sam9_alt_restart;
291291
pm_power_off = at91sam9261_poweroff;
292292
at91_extern_irq = (1 << AT91SAM9261_ID_IRQ0) | (1 << AT91SAM9261_ID_IRQ1)
293293
| (1 << AT91SAM9261_ID_IRQ2);

0 commit comments

Comments
 (0)