forked from luck/tmp_suning_uos_patched
[SPARC]: Initialize iounit spinlock in iounit_init().
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
9d7ab1f4d5
commit
2f72ba4358
|
@ -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;)
|
||||
|
|
Loading…
Reference in New Issue
Block a user