Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2f72ba43 authored by Raymond Burns's avatar Raymond Burns Committed by David S. Miller
Browse files

[SPARC]: Initialize iounit spinlock in iounit_init().

parent 9d7ab1f4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;)