diff options
| author | 2006-04-30 22:54:27 -0700 | |
|---|---|---|
| committer | 2006-04-30 22:54:27 -0700 | |
| commit | c9f2946fbec88d4baa3a6d47eb3a8e6b08b05cd9 (patch) | |
| tree | 2b18303a2a69cf0c9d0224daebda5e5fc34308d8 /mm/sparse.c | |
| parent | [SPARC64]: Kill __flush_tlb_page() prototype. (diff) | |
| download | linux-rng-c9f2946fbec88d4baa3a6d47eb3a8e6b08b05cd9.tar.xz linux-rng-c9f2946fbec88d4baa3a6d47eb3a8e6b08b05cd9.zip | |
[SPARC64]: Disable preemption during flush_tlb_pending().
A context switch will force a call to flush_tlb_pending() (via
switch_to()), so if we test tlb_nr to be non-zero, then sleep, it
would become zero and later back at the original context we'll pass
zero down into the TLB flushing code which should never see a nr
argument of zero.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'mm/sparse.c')
0 files changed, 0 insertions, 0 deletions
