summaryrefslogtreecommitdiffstats
path: root/arch/h8300/include/asm/processor.h
diff options
context:
space:
mode:
authorDavid Howells2012-03-28 19:30:02 +0200
committerDavid Howells2012-03-28 19:30:02 +0200
commita5401ee3da720d29bcce90ed352738c85a71f6cf (patch)
tree4fc07d751864b455b12272ea0bbc126140f4c446 /arch/h8300/include/asm/processor.h
parentDisintegrate asm/system.h for FRV (diff)
downloadkernel-qcow2-linux-a5401ee3da720d29bcce90ed352738c85a71f6cf.tar.gz
kernel-qcow2-linux-a5401ee3da720d29bcce90ed352738c85a71f6cf.tar.xz
kernel-qcow2-linux-a5401ee3da720d29bcce90ed352738c85a71f6cf.zip
Disintegrate asm/system.h for H8300
Disintegrate asm/system.h for H8300. Signed-off-by: David Howells <dhowells@redhat.com> cc: Yoshinori Sato <ysato@users.sourceforge.jp>
Diffstat (limited to 'arch/h8300/include/asm/processor.h')
-rw-r--r--arch/h8300/include/asm/processor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/h8300/include/asm/processor.h b/arch/h8300/include/asm/processor.h
index e834b6018897..61fabf1788c6 100644
--- a/arch/h8300/include/asm/processor.h
+++ b/arch/h8300/include/asm/processor.h
@@ -135,4 +135,9 @@ unsigned long get_wchan(struct task_struct *p);
#define cpu_relax() barrier()
+#define HARD_RESET_NOW() ({ \
+ local_irq_disable(); \
+ asm("jmp @@0"); \
+})
+
#endif