summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/include
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-03 15:00:13 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 13:57:18 +0100
commit47cacdd4ed95d18e5cc28b46d8835c96a9cadfb3 (patch)
treeff4e79d2644c0d78ba89f731477df121308844bc /arch/arm/mach-realview/include
parentARM: restart: pxa: use new restart hook (diff)
downloadlinux-47cacdd4ed95d18e5cc28b46d8835c96a9cadfb3.tar.xz
linux-47cacdd4ed95d18e5cc28b46d8835c96a9cadfb3.zip
ARM: restart: realview: use new restart hook
Hook these platforms restart code into the new restart hook rather than using arch_reset(). Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/mach-realview/include')
-rw-r--r--arch/arm/mach-realview/include/mach/system.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/arm/mach-realview/include/mach/system.h b/arch/arm/mach-realview/include/mach/system.h
index 6657ff231161..1630766eeb5c 100644
--- a/arch/arm/mach-realview/include/mach/system.h
+++ b/arch/arm/mach-realview/include/mach/system.h
@@ -21,12 +21,6 @@
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H
-#include <linux/io.h>
-#include <mach/hardware.h>
-#include <mach/platform.h>
-
-void (*realview_reset)(char mode);
-
static inline void arch_idle(void)
{
/*
@@ -38,13 +32,6 @@ static inline void arch_idle(void)
static inline void arch_reset(char mode, const char *cmd)
{
- /*
- * To reset, we hit the on-board reset register
- * in the system FPGA
- */
- if (realview_reset)
- realview_reset(mode);
- dsb();
}
#endif