aboutsummaryrefslogtreecommitdiff
path: root/include/asm-powerpc/numnodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-powerpc/numnodes.h')
-rw-r--r--include/asm-powerpc/numnodes.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-powerpc/numnodes.h b/include/asm-powerpc/numnodes.h
index 795533aca09..e138edae09d 100644
--- a/include/asm-powerpc/numnodes.h
+++ b/include/asm-powerpc/numnodes.h
@@ -1,7 +1,9 @@
#ifndef _ASM_POWERPC_MAX_NUMNODES_H
#define _ASM_POWERPC_MAX_NUMNODES_H
+#ifdef __KERNEL__
/* Max 16 Nodes */
#define NODES_SHIFT 4
+#endif /* __KERNEL__ */
#endif /* _ASM_POWERPC_MAX_NUMNODES_H */