summaryrefslogtreecommitdiff
path: root/arch/x86/platform/olpc/olpc_ofw.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/x86/platform/olpc/olpc_ofw.c')
-rw-r--r--arch/x86/platform/olpc/olpc_ofw.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/x86/platform/olpc/olpc_ofw.c b/arch/x86/platform/olpc/olpc_ofw.c
index 787320464379..e7604f62870d 100644
--- a/arch/x86/platform/olpc/olpc_ofw.c
+++ b/arch/x86/platform/olpc/olpc_ofw.c
@@ -110,3 +110,8 @@ void __init olpc_ofw_detect(void)
(unsigned long)olpc_ofw_cif, (-start) >> 20);
reserve_top_address(-start);
}
+
+bool __init olpc_ofw_is_installed(void)
+{
+ return olpc_ofw_cif != NULL;
+}