* [Adeos-main] [PATCH] x86-32: Cleanup redundant NMI wrapping
@ 2008-10-19 22:22 Jan Kiszka
0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2008-10-19 22:22 UTC (permalink / raw)
To: Philippe Gerum; +Cc: adeos-main
[-- Attachment #1: Type: text/plain, Size: 764 bytes --]
We are now doing the housekeeping in nmi_enter/exit, so this hunk can
safely be reverted.
---
arch/x86/kernel/traps_32.c | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
Index: b/arch/x86/kernel/traps_32.c
===================================================================
--- a/arch/x86/kernel/traps_32.c
+++ b/arch/x86/kernel/traps_32.c
@@ -836,21 +836,17 @@ static int ignore_nmis;
notrace __kprobes void do_nmi(struct pt_regs *regs, long error_code)
{
- int cpu, cs;
+ int cpu;
nmi_enter();
cpu = smp_processor_id();
- cs = ipipe_disable_context_check(cpu);
-
++nmi_count(cpu);
if (!ignore_nmis)
default_do_nmi(regs);
- ipipe_restore_context_check(cpu, cs);
-
nmi_exit();
}
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 257 bytes --]
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-10-19 22:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-19 22:22 [Adeos-main] [PATCH] x86-32: Cleanup redundant NMI wrapping Jan Kiszka
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.