git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
vserver 1.9.5.x5
[linux-2.6.git]
/
arch
/
ppc
/
kernel
/
dma-mapping.c
diff --git
a/arch/ppc/kernel/dma-mapping.c
b/arch/ppc/kernel/dma-mapping.c
index
334b8bf
..
59359d8
100644
(file)
--- a/
arch/ppc/kernel/dma-mapping.c
+++ b/
arch/ppc/kernel/dma-mapping.c
@@
-71,7
+71,7
@@
int map_page(unsigned long va, phys_addr_t pa, int flags);
* This is the page table (2MB) covering uncached, DMA consistent allocations
*/
static pte_t *consistent_pte;
-static
spinlock_t consistent_lock = SPIN_LOCK_UNLOCKED
;
+static
DEFINE_SPINLOCK(consistent_lock)
;
/*
* VM region handling support.