summaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/vdso_datapage.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/vdso_datapage.h')
-rw-r--r--include/asm-powerpc/vdso_datapage.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/vdso_datapage.h b/include/asm-powerpc/vdso_datapage.h
index 411832d..7aa9208 100644
--- a/include/asm-powerpc/vdso_datapage.h
+++ b/include/asm-powerpc/vdso_datapage.h
@@ -1,5 +1,6 @@
#ifndef _VDSO_DATAPAGE_H
#define _VDSO_DATAPAGE_H
+#ifdef __KERNEL__
/*
* Copyright (C) 2002 Peter Bergner <bergner@vnet.ibm.com>, IBM
@@ -105,4 +106,5 @@ extern struct vdso_data *vdso_data;
#endif /* __ASSEMBLY__ */
+#endif /* __KERNEL__ */
#endif /* _SYSTEMCFG_H */
OpenPOWER on IntegriCloud