diff options
author | Paul Mundt <lethal@linux-sh.org> | 2010-01-20 16:42:52 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-01-20 16:42:52 +0900 |
commit | fbb82b03653cdb7fd1863b911e7540011259d2ce (patch) | |
tree | d5920f46068bb184a5322bc1505fb030adb6bfb6 /arch/sh/include/asm/system_64.h | |
parent | 2efa53b269ec1e9289a108e1506f53f6f1de440b (diff) | |
download | op-kernel-dev-fbb82b03653cdb7fd1863b911e7540011259d2ce.zip op-kernel-dev-fbb82b03653cdb7fd1863b911e7540011259d2ce.tar.gz |
sh: machine_ops based reboot support.
This provides a machine_ops-based reboot interface loosely cloned from
x86, and converts the native sh32 and sh64 cases over to it.
Necessary both for tying in SMP support and also enabling platforms like
SDK7786 to add support for their microcontroller-based power managers.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include/asm/system_64.h')
-rw-r--r-- | arch/sh/include/asm/system_64.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/sh/include/asm/system_64.h b/arch/sh/include/asm/system_64.h index ab1dd91..604ba78 100644 --- a/arch/sh/include/asm/system_64.h +++ b/arch/sh/include/asm/system_64.h @@ -48,6 +48,13 @@ static inline reg_size_t register_align(void *val) return (unsigned long long)(signed long long)(signed long)val; } +extern void phys_stext(void); + +static inline void trigger_address_error(void) +{ + phys_stext(); +} + #define SR_BL_LL 0x0000000010000000LL static inline void set_bl_bit(void) |