提交 4fe702c7 编写于 作者: J Jaswinder Singh

X86_32: declare pt_regs_access as unsigned long

Fixed pt_regs_access to unsigned long as per X86_64
Signed-off-by: NJaswinder Singh <jaswinder@infradead.org>
上级 461d1596
......@@ -69,7 +69,7 @@ static inline bool invalid_selector(u16 value)
#define FLAG_MASK FLAG_MASK_32
static long *pt_regs_access(struct pt_regs *regs, unsigned long regno)
static unsigned long *pt_regs_access(struct pt_regs *regs, unsigned long regno)
{
BUILD_BUG_ON(offsetof(struct pt_regs, bx) != 0);
regno >>= 2;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册