]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
x86, olpc: Add comment about implicit optimization barrier
authorAndres Salomon <dilinger@queued.net>
Thu, 24 Jun 2010 00:27:00 +0000 (20:27 -0400)
committerIngo Molnar <mingo@elte.hu>
Thu, 24 Jun 2010 09:40:47 +0000 (11:40 +0200)
Signed-off-by: Andres Salomon <dilinger@queued.net>
Cc: H. Peter Anvin <hpa@linux.intel.com>
LKML-Reference: <20100618174653.7755a39a@dev.queued.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
arch/x86/kernel/olpc_ofw.c

index 469ee438429581810fa602f2381ab304b4b47826..f5d499fbe74f27677998b87f5947f04130dbee78 100644 (file)
@@ -35,6 +35,8 @@ void __init setup_olpc_ofw_pgd(void)
 
        /* install OFW's PDE permanently into the kernel's pgtable */
        set_pgd(&swapper_pg_dir[OLPC_OFW_PDE_NR], *ofw_pde);
+       /* implicit optimization barrier here due to uninline function return */
+
        early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD);
 }