diff options
author | Andres Salomon <dilinger@queued.net> | 2010-06-23 20:27:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2010-06-24 05:40:47 -0400 |
commit | 75a9cac430a1bd2a5219c74508ca01b0ddfddc9a (patch) | |
tree | 3d30fc26b4119d99aaaa1300da5ca2d6bd4299ab | |
parent | fd699c76552bbfa66631f019be415a87dbb08237 (diff) |
x86, olpc: Add comment about implicit optimization barrier
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>
-rw-r--r-- | arch/x86/kernel/olpc_ofw.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/x86/kernel/olpc_ofw.c b/arch/x86/kernel/olpc_ofw.c index 469ee4384295..f5d499fbe74f 100644 --- a/arch/x86/kernel/olpc_ofw.c +++ b/arch/x86/kernel/olpc_ofw.c | |||
@@ -35,6 +35,8 @@ void __init setup_olpc_ofw_pgd(void) | |||
35 | 35 | ||
36 | /* install OFW's PDE permanently into the kernel's pgtable */ | 36 | /* install OFW's PDE permanently into the kernel's pgtable */ |
37 | set_pgd(&swapper_pg_dir[OLPC_OFW_PDE_NR], *ofw_pde); | 37 | set_pgd(&swapper_pg_dir[OLPC_OFW_PDE_NR], *ofw_pde); |
38 | /* implicit optimization barrier here due to uninline function return */ | ||
39 | |||
38 | early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); | 40 | early_iounmap(base, sizeof(olpc_ofw_pgd) * PTRS_PER_PGD); |
39 | } | 41 | } |
40 | 42 | ||