diff options
author | Al Viro <viro@www.linux.org.uk> | 2005-04-25 10:55:58 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-04-25 10:55:58 -0400 |
commit | 91de1fff2d431fec1162333a1e4fad9a53cd5b9e (patch) | |
tree | 419610113c96db5623b912f7242fb1dfe9c2fe22 /arch/ppc/kernel | |
parent | d01daf72f0a238c5ccfba7bf82999e384927412e (diff) |
[PATCH] ppc sparse annotations: emulate_string_inst()
replaced declaration of EA from u32 to unsigned long - this beast is
used only to cast it to (userland) pointer and proper integer type for
that is unsigned long.
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc/kernel')
-rw-r--r-- | arch/ppc/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c index 002322a1f3ce..361865c4bc84 100644 --- a/arch/ppc/kernel/traps.c +++ b/arch/ppc/kernel/traps.c | |||
@@ -403,7 +403,7 @@ static int emulate_string_inst(struct pt_regs *regs, u32 instword) | |||
403 | u8 rA = (instword >> 16) & 0x1f; | 403 | u8 rA = (instword >> 16) & 0x1f; |
404 | u8 NB_RB = (instword >> 11) & 0x1f; | 404 | u8 NB_RB = (instword >> 11) & 0x1f; |
405 | u32 num_bytes; | 405 | u32 num_bytes; |
406 | u32 EA; | 406 | unsigned long EA; |
407 | int pos = 0; | 407 | int pos = 0; |
408 | 408 | ||
409 | /* Early out if we are an invalid form of lswx */ | 409 | /* Early out if we are an invalid form of lswx */ |