lkml.org 
[lkml]   [2008]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: sparc64 BUG: using smp_processor_id() in preemptible
On Wed, 26 Mar 2008 04:25:16 -0700 (PDT) David Miller <davem@davemloft.net> wrote:

> preempt_disable();
>
> + mp = &__get_cpu_var(mmu_gathers);

that's an open-coded get_cpu_var().

fwiw. Which isn't much, IMO. Sometimes it's nice to see things open-coded.


\
 
 \ /
  Last update: 2008-03-27 04:29    [W:0.131 / U:0.708 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site