summaryrefslogtreecommitdiffstats
path: root/arch/openrisc
diff options
context:
space:
mode:
authorJonas Bonn <jonas@southpole.se>2012-03-06 07:57:25 +0100
committerJonas Bonn <jonas@southpole.se>2012-03-06 10:37:20 +0100
commit1bc0b9fd7510742cf159ecc9e4d2fa87c804939a (patch)
tree6d3575b619b772fb2febf19d0fde23c708f3cc6b /arch/openrisc
parent6cbe5e95267449ea0b79c0b049342409949da3ac (diff)
downloadlinux-1bc0b9fd7510742cf159ecc9e4d2fa87c804939a.tar.gz
linux-1bc0b9fd7510742cf159ecc9e4d2fa87c804939a.tar.bz2
linux-1bc0b9fd7510742cf159ecc9e4d2fa87c804939a.zip
openrisc: remove semicolon from KSTK_ defs
Things break rather ungracefully when a semicolon gets substituted into an expression... discovered while build-testing linux-next for 3.4 Signed-off-by: Jonas Bonn <jonas@southpole.se>
Diffstat (limited to 'arch/openrisc')
-rw-r--r--arch/openrisc/include/asm/processor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/openrisc/include/asm/processor.h b/arch/openrisc/include/asm/processor.h
index bb54c97b9783..f7516fa78b58 100644
--- a/arch/openrisc/include/asm/processor.h
+++ b/arch/openrisc/include/asm/processor.h
@@ -81,8 +81,8 @@ extern inline void prepare_to_copy(struct task_struct *tsk)
#define INIT_THREAD { }
-#define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc);
-#define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp);
+#define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc)
+#define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp)
extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags);