summaryrefslogtreecommitdiffstats
path: root/kernel/dma.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2010-08-19 07:53:26 +0200
committerDavid S. Miller <davem@davemloft.net>2010-08-19 07:53:26 +0200
commit0f58189d4a3ca96d7959501ecb203177efdbc5bd (patch)
treeb5ad2f63da4c1caa5d20487cf370d51e4392111c /kernel/dma.c
parentsparc64: simple microoptimizations for atomic functions (diff)
downloadlinux-0f58189d4a3ca96d7959501ecb203177efdbc5bd.tar.xz
linux-0f58189d4a3ca96d7959501ecb203177efdbc5bd.zip
sparc64: Make lock backoff really a NOP on UP builds.
As noticed by Mikulas Patocka, the backoff macros don't completely nop out for UP builds, we still get a branch always and a delay slot nop. Fix this by making the branch to the backoff spin loop selective, then we can nop out the spin loop completely. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel/dma.c')
0 files changed, 0 insertions, 0 deletions