x86: Rename trap_no to trap_nr in thread_struct
Srikar Dronamraju authored
There are precedences of trap number being referred to as
trap_nr. However thread struct refers trap number as trap_no.
Change it to trap_nr.

Also use enum instead of left-over literals for trap values.

This is pure cleanup, no functional change intended.
Suggested-by: default avatarIngo Molnar <mingo@eltu.hu>
Signed-off-by: default avatarSrikar Dronamraju <srikar@linux.vnet.ibm.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ananth N Mavinakayanahalli <ananth@in.ibm.com>
Cc: Jim Keniston <jkenisto@linux.vnet.ibm.com>
Cc: Linux-mm <linux-mm@kvack.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Andi Kleen <andi@firstfloor.org>
Cc: Christoph Hellwig <hch@infradead.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Arnaldo Carvalho de Melo <acme@infradead.org>
Cc: Masami Hiramatsu <masami.hiramatsu.pt@hitachi.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/20120312092555.5379.942.sendpatchset@srdronam.in.ibm.com


[ Fixed the math-emu build ]
Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
51e7dc70
Name Last commit Last update
..
alpha alpha: Use generic posix_types.h
arm Merge branch 'x86/x32' into x86/cleanups
avr32 avr32: Use generic posix_types.h
blackfin Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci
c6x Kbuild: Use dtc's -d (dependency) option
cris cris: Use generic posix_types.h
frv frv: Use generic posix_types.h
h8300 h8300: Use generic posix_types.h
hexagon lib: move GENERIC_IOMAP to lib/Kconfig
ia64 ia64: Use generic posix_types.h
m32r m32r: Use generic posix_types.h
m68k Merge branch 'x86/x32' into x86/cleanups
microblaze Revert "microblaze: Add topology init"
mips fs: Remove missed ->fds_bits from cessation use of fd_set structs internally
mn10300 mn10300: Use generic posix_types.h
openrisc openrisc: Fix up audit_syscall_[entry|exit]() usage
parisc Merge branch 'x86/x32' into x86/cleanups
powerpc Merge branch 'x86/x32' into x86/cleanups
s390 Merge branch 'x86/x32' into x86/cleanups
score score: fix off-by-one index into syscall table
sh Merge branch 'x86/x32' into x86/cleanups
sparc sparc: Use generic posix_types.h
tile Merge branch 'for-next' of git://git.infradead.org/users/dhowells/linux-headers
um Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/audit
unicore32 Merge branch 'linux-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jbarnes/pci
x86 x86: Rename trap_no to trap_nr in thread_struct
xtensa xtensa: Use generic posix_types.h
.gitignore arch: Ignore arch/i386 and arch/x86_64
Kconfig mm,x86,um: move CMPXCHG_DOUBLE config option