summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-realview/include/mach/system.h
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2011-11-03 14:00:13 +0000
committerRussell King <rmk+kernel@arm.linux.org.uk>2012-01-05 12:57:18 +0000
commit47cacdd4ed95d18e5cc28b46d8835c96a9cadfb3 (patch)
treeff4e79d2644c0d78ba89f731477df121308844bc /arch/arm/mach-realview/include/mach/system.h
parent271a74fc875210d3dfcc03d557fb5d86d3990a0f (diff)
downloadop-kernel-dev-47cacdd4ed95d18e5cc28b46d8835c96a9cadfb3.zip
op-kernel-dev-47cacdd4ed95d18e5cc28b46d8835c96a9cadfb3.tar.gz
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/mach/system.h')
-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 6657ff23..1630766 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
OpenPOWER on IntegriCloud