diff options
| author | Robert Love <rml@tech9.net> | 2002-06-02 20:55:55 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-06-02 20:55:55 -0700 |
| commit | 373c84d2cdc1e51ced83d24d9b934258ae38111e (patch) | |
| tree | ee0d95a8e05e21f1ca99e52ae7759a54c3d8c1ed /include/linux | |
| parent | 5e40a79ffa64f35b8dd52b0ec7350eef2092afe4 (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
