提交 1bc0b9fd 编写于 作者: J Jonas Bonn

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: NJonas Bonn <jonas@southpole.se>
上级 6cbe5e95
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册