diff options
author | Vegard Nossum | 2008-06-22 09:40:18 +0200 |
---|---|---|
committer | Ingo Molnar | 2008-06-24 13:48:29 +0200 |
commit | 93e1ade5382206d597e9d6de2d1383e69f54d064 (patch) | |
tree | 44b3a9f6735e6cba34f0ec22bd57f20f8a50c160 /arch/cris/Kconfig | |
parent | Merge branch 'hotfixes' of git://git.linux-nfs.org/projects/trondmy/nfs-2.6 (diff) | |
download | kernel-qcow2-linux-93e1ade5382206d597e9d6de2d1383e69f54d064.tar.gz kernel-qcow2-linux-93e1ade5382206d597e9d6de2d1383e69f54d064.tar.xz kernel-qcow2-linux-93e1ade5382206d597e9d6de2d1383e69f54d064.zip |
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>
Diffstat (limited to 'arch/cris/Kconfig')
0 files changed, 0 insertions, 0 deletions