[tip:x86/olpc] x86, olpc: Add comment about implicit optimization barrier

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit-ID:  75a9cac430a1bd2a5219c74508ca01b0ddfddc9a
Gitweb:     http://git.kernel.org/tip/75a9cac430a1bd2a5219c74508ca01b0ddfddc9a
Author:     Andres Salomon <dilinger@xxxxxxxxxx>
AuthorDate: Wed, 23 Jun 2010 20:27:00 -0400
Committer:  Ingo Molnar <mingo@xxxxxxx>
CommitDate: Thu, 24 Jun 2010 11:40:47 +0200

x86, olpc: Add comment about implicit optimization barrier

Signed-off-by: Andres Salomon <dilinger@xxxxxxxxxx>
Cc: H. Peter Anvin <hpa@xxxxxxxxxxxxxxx>
LKML-Reference: <20100618174653.7755a39a@xxxxxxxxxxxxxx>
Signed-off-by: Ingo Molnar <mingo@xxxxxxx>
---
 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 469ee43..f5d499f 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)
 
 	/* 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);
 }
 
--
To unsubscribe from this list: send the line "unsubscribe linux-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux