summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorRobert Love <rml@tech9.net>2002-06-02 20:55:55 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2002-06-02 20:55:55 -0700
commit373c84d2cdc1e51ced83d24d9b934258ae38111e (patch)
treeee0d95a8e05e21f1ca99e52ae7759a54c3d8c1ed /include/linux
parent5e40a79ffa64f35b8dd52b0ec7350eef2092afe4 (diff)
[PATCH] make smp.c preempt-safe
The attached patch cleans up some per-CPU code in arch/i386/kernel/smp.c that could be problematic under preemption. The first I solve with the new get_cpu interface, for the second two I explicitly disable preemption. I also changed 1 to 1UL in the shift to properly match the type.
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions