projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d7ab1f
)
[SPARC]: Initialize iounit spinlock in iounit_init().
author
Raymond Burns
<rayburns@comcast.net>
Tue, 18 Jul 2006 04:40:27 +0000
(21:40 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Fri, 21 Jul 2006 21:18:13 +0000
(14:18 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
arch/sparc/mm/io-unit.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sparc/mm/io-unit.c
b/arch/sparc/mm/io-unit.c
index 42c1c700c0a70b3c7ca86a13c90b22bf0e84fb5f..2bb1309003dd9e6ba316fdf87df308f2bceb34b5 100644
(file)
--- a/
arch/sparc/mm/io-unit.c
+++ b/
arch/sparc/mm/io-unit.c
@@
-64,6
+64,7
@@
iounit_init(int sbi_node, int io_node, struct sbus_bus *sbus)
sbus->iommu = (struct iommu_struct *)iounit;
iounit->page_table = xpt;
+ spin_lock_init(&iounit->lock);
for (xptend = iounit->page_table + (16 * PAGE_SIZE) / sizeof(iopte_t);
xpt < xptend;)