Commit b95ff9fe authored by Russell King's avatar Russell King

ARM: restart: shark: use new restart hook

Hook the Shark restart code into the new restart hook rather than
using arch_reset().
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent d9ca5839
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
#define ROMCARD_SIZE 0x08000000 #define ROMCARD_SIZE 0x08000000
#define ROMCARD_START 0x10000000 #define ROMCARD_START 0x10000000
void arch_reset(char mode, const char *cmd) static void shark_restart(char mode, const char *cmd)
{ {
short temp; short temp;
/* Reset the Machine via pc[3] of the sequoia chipset */ /* Reset the Machine via pc[3] of the sequoia chipset */
...@@ -156,4 +156,5 @@ MACHINE_START(SHARK, "Shark") ...@@ -156,4 +156,5 @@ MACHINE_START(SHARK, "Shark")
.init_irq = shark_init_irq, .init_irq = shark_init_irq,
.timer = &shark_timer, .timer = &shark_timer,
.dma_zone_size = SZ_4M, .dma_zone_size = SZ_4M,
.restart = shark_restart,
MACHINE_END MACHINE_END
...@@ -6,8 +6,9 @@ ...@@ -6,8 +6,9 @@
#ifndef __ASM_ARCH_SYSTEM_H #ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H #define __ASM_ARCH_SYSTEM_H
/* Found in arch/mach-shark/core.c */ static inline void arch_reset(char mode, const char *cmd)
extern void arch_reset(char mode, const char *cmd); {
}
static inline void arch_idle(void) static inline void arch_idle(void)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment