Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4fe702c7 authored by Jaswinder Singh's avatar Jaswinder Singh
Browse files

X86_32: declare pt_regs_access as unsigned long



Fixed pt_regs_access to unsigned long as per X86_64

Signed-off-by: default avatarJaswinder Singh <jaswinder@infradead.org>
parent 461d1596
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;