x86, NMI: Clean-up default_do_nmi()
authorDon Zickus <dzickus@redhat.com>
Thu, 6 Jan 2011 21:18:52 +0000 (16:18 -0500)
committerIngo Molnar <mingo@elte.hu>
Fri, 7 Jan 2011 14:08:53 +0000 (15:08 +0100)
commitf2fd43954abc058586e95d4eb91e7a5477070704
tree9dbb3dc10de2145182e879582cb477d55ae9e92b
parentab846f13f69fa64f8ed69ce0c3e239e075910d23
x86, NMI: Clean-up default_do_nmi()

Just re-arrange the code a bit to make it easier to follow what is
going on.  Basically un-negating the if-statement and swapping the code
inside the if-statement with code outside.

No functional changes.

Originally-by: Huang Ying <ying.huang@intel.com>
Signed-off-by: Don Zickus <dzickus@redhat.com>
Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1294348732-15030-7-git-send-email-dzickus@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/traps.c