[PATCH] kprobes: replace magic numbers with enum
authorMasami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Tue, 30 Jan 2007 22:36:06 +0000 (14:36 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 31 Jan 2007 00:01:35 +0000 (16:01 -0800)
commitab40c5c6b6861ee71fd97f2611027b01e9ec4da0
treefd3288d65a82cfd3b2a95400f41515d22cc44a64
parent46bae1a9a767f3ae8e636d96f9b95703df34b398
[PATCH] kprobes: replace magic numbers with enum

Replace the magic numbers with an enum, and gets rid of a warning on the
specific architectures (ex.  powerpc) on which the compiler considers
'char' as 'unsigned char'.

Signed-off-by: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Prasanna S Panchamukhi <prasanna@in.ibm.com>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Anil S Keshavamurthy <anil.s.keshavamurthy@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
kernel/kprobes.c