diff options
author | Jonas Bonn <jonas@southpole.se> | 2012-03-06 01:57:25 -0500 |
---|---|---|
committer | Jonas Bonn <jonas@southpole.se> | 2012-03-06 04:37:20 -0500 |
commit | 1bc0b9fd7510742cf159ecc9e4d2fa87c804939a (patch) | |
tree | 6d3575b619b772fb2febf19d0fde23c708f3cc6b /arch/openrisc/include | |
parent | 6cbe5e95267449ea0b79c0b049342409949da3ac (diff) |
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/include')
-rw-r--r-- | arch/openrisc/include/asm/processor.h | 4 |
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) | |||
81 | #define INIT_THREAD { } | 81 | #define INIT_THREAD { } |
82 | 82 | ||
83 | 83 | ||
84 | #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc); | 84 | #define KSTK_EIP(tsk) (task_pt_regs(tsk)->pc) |
85 | #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp); | 85 | #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) |
86 | 86 | ||
87 | 87 | ||
88 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); | 88 | extern int kernel_thread(int (*fn)(void *), void * arg, unsigned long flags); |