]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
x86: traps_xx: refactor die() like in x86_64
authorAlexander van Heukelum <heukelum@fastmail.fm>
Thu, 10 Jul 2008 19:14:52 +0000 (21:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Fri, 18 Jul 2008 14:21:17 +0000 (16:21 +0200)
commit78cbac65fd77242f3e5d77f4d7a71e8bc869fe4d
tree8ada810cc1f2f1f26644f6517b7f131fdb130c5d
parent5b664cb235e97afbf34db9c4d77f08ebd725335e
x86: traps_xx: refactor die() like in x86_64

Make the diff between the traps_32.c and traps_64.c a bit smaller.

Change traps_32.c to look more like traps_64.c:
 - move lock information to file scope
 - split out oops_begin() and oops_end() from die()
 - increment nest counter in oops_begin

Only whitespace change in traps_64.c

No functional changes intended.

Signed-off-by: Alexander van Heukelum <heukelum@fastmail.fm>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps_32.c
arch/x86/kernel/traps_64.c