extern int __pure cpu_architecture(void);
extern void cpu_init(void);
-void arm_machine_restart(char mode, const char *cmd);
void soft_restart(unsigned long);
extern void (*arm_pm_restart)(char str, const char *cmd);
cpu_reset(addr);
}
-void arm_machine_restart(char mode, const char *cmd)
+static void null_restart(char mode, const char *cmd)
{
- /* Disable interrupts first */
- local_irq_disable();
- local_fiq_disable();
-
- /* Call the architecture specific reboot code. */
- arch_reset(mode, cmd);
}
/*
void (*pm_power_off)(void);
EXPORT_SYMBOL(pm_power_off);
-void (*arm_pm_restart)(char str, const char *cmd) = arm_machine_restart;
+void (*arm_pm_restart)(char str, const char *cmd) = null_restart;
EXPORT_SYMBOL_GPL(arm_pm_restart);
static void do_nothing(void *unused)
#endif
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
mov r0, r0");
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif /* __ASM_ARCH_SYSTEM_H */
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
-
#endif
asm volatile ("mcr p15, 0, ip, c15, c1, 2" : : : "cc");
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H __FILE__
-#include <plat/system-reset.h>
-
static void arch_idle(void)
{
/* nothing here yet */
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
nop();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
cpu_do_idle();
#endif
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
cpu_do_idle();
#endif
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
}
-static void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
#endif /* __ASM_MACH_SYSTEM_H */
*/
void arch_idle(void);
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
/* low level hardware reset hook -- for example, hitting the
* PSHOLD line on the PMIC to hard reset the system
*/
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif /* __MACH_MXS_SYSTEM_H__ */
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(int mode, const char *cmd)
-{
-}
-
#endif /* __ASM_ARCH_SYSTEM_H */
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
+++ /dev/null
-/* arch/arm/mach-s3c2410/include/mach/system-reset.h
- *
- * Copyright (c) 2008 Simtec Electronics
- * Ben Dooks <ben@simtec.co.uk>
- *
- * S3C2410 - System define for arch_reset() function
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-static void arch_reset(char mode, const char *cmd)
-{
-}
else
s3c24xx_default_idle();
}
-
-#include <mach/system-reset.h>
/* nothing here yet */
}
-static void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif /* __ASM_ARCH_IRQ_H */
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H __FILE__
-#include <plat/system-reset.h>
-
static void arch_idle(void)
{
/* nothing here yet */
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H __FILE__
-#include <plat/system-reset.h>
-
static void arch_idle(void)
{
/* nothing here yet */
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H __FILE__
-#include <plat/system-reset.h>
-
static void arch_idle(void)
{
/* nothing here yet */
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
static inline void arch_idle(void)
{
}
#ifndef __MACH_TEGRA_SYSTEM_H
#define __MACH_TEGRA_SYSTEM_H
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
static inline void arch_idle(void)
{
}
{
cpu_do_idle();
}
-
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
static void arch_idle(void)
{
}
-
-static void arch_reset(char mode, const char *cmd)
-{
-}
-
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif /* __ASM_ARCH_MXC_SYSTEM_H__ */
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif
+++ /dev/null
-/* linux/arch/arm/plat-samsung/include/plat/system-reset.h
- *
- * Copyright (c) 2010 Samsung Electronics Co., Ltd.
- * http://www.samsung.com
- *
- * Based on arch/arm/mach-s3c2410/include/mach/system-reset.h
- *
- * S5P - System define for arch_reset()
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 2 as
- * published by the Free Software Foundation.
-*/
-
-#include <plat/watchdog-reset.h>
-
-static void arch_reset(char mode, const char *cmd)
-{
- arch_wdt_reset();
-}
cpu_do_idle();
}
-static inline void arch_reset(char mode, const char *cmd)
-{
-}
-
#endif /* __PLAT_SYSTEM_H */