提交 0866eb99 编写于 作者: B Benjamin Herrenschmidt

powerpc/book3e: mtmsr should not be mtmsrd on book3e 64-bit

Signed-off-by: NBenjamin Herrenschmidt <benh@kernel.crashing.org>
上级 cccd2342
......@@ -890,7 +890,7 @@
#ifndef __ASSEMBLY__
#define mfmsr() ({unsigned long rval; \
asm volatile("mfmsr %0" : "=r" (rval)); rval;})
#ifdef CONFIG_PPC64
#ifdef CONFIG_PPC_BOOK3S_64
#define __mtmsrd(v, l) asm volatile("mtmsrd %0," __stringify(l) \
: : "r" (v) : "memory")
#define mtmsrd(v) __mtmsrd((v), 0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册