From: Raymond Burns Date: Tue, 18 Jul 2006 04:40:27 +0000 (-0700) Subject: [SPARC]: Initialize iounit spinlock in iounit_init(). X-Git-Tag: v2.6.18-rc3~67 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=2f72ba43581890d003427053ebe4dfaa14e5f4b0;p=linux-2.6-omap-h63xx.git [SPARC]: Initialize iounit spinlock in iounit_init(). Signed-off-by: David S. Miller --- diff --git a/arch/sparc/mm/io-unit.c b/arch/sparc/mm/io-unit.c index 42c1c700c0a..2bb1309003d 100644 --- 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;)