linux/arch/x86/oprofile
Vegard Nossum 93e1ade538 x86/oprofile: disable preemption in nmi_shutdown
fix:

    BUG: using smp_processor_id() in preemptible [00000000] code: oprofiled/27301
    caller is nmi_shutdown+0x11/0x60
    Pid: 27301, comm: oprofiled Not tainted 2.6.26-rc7 #25
     [<c028a90d>] debug_smp_processor_id+0xbd/0xc0
     [<c045fba1>] nmi_shutdown+0x11/0x60
     [<c045dd4a>] oprofile_shutdown+0x2a/0x60

Note that we don't need this for the other functions, since they are all
called with on_each_cpu() (which disables preemption for us anyway).

Signed-off-by: Vegard Nossum <vegard.nossum@gmail.com>
Cc: Philippe Elie <phil.el@wanadoo.fr>
Cc: oprofile-list@lists.sf.net
Cc: Johannes Weiner <hannes@saeurebad.de>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-06-24 13:48:29 +02:00
..
backtrace.c x86: rename stack_pointer to kernel_trap_sp 2008-01-30 13:33:16 +01:00
init.c x86: coding style fixes to arch/x86/oprofile/init.c 2008-04-17 17:40:49 +02:00
Makefile i386: move oprofile 2007-10-11 11:16:55 +02:00
nmi_int.c x86/oprofile: disable preemption in nmi_shutdown 2008-06-24 13:48:29 +02:00
nmi_timer_int.c x86: coding style fixes to arch/x86/oprofile/nmi_timer_int.c 2008-04-17 17:40:50 +02:00
op_counter.h i386: move oprofile 2007-10-11 11:16:55 +02:00
op_model_athlon.c x86: coding style fixes to arch/x86/oprofile/op_model_athlon.c 2008-04-17 17:40:48 +02:00
op_model_p4.c Convert cpu_sibling_map to be a per cpu variable 2007-10-16 09:42:50 -07:00
op_model_ppro.c x86: coding style fixes to arch/x86/oprofile/op_model_ppro.c 2008-04-17 17:40:48 +02:00
op_x86_model.h spelling fixes: arch/i386/ 2007-10-20 01:13:56 +02:00