summaryrefslogtreecommitdiffstats
path: root/include/asm-i386/setup.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-i386/setup.h')
-rw-r--r--include/asm-i386/setup.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/asm-i386/setup.h b/include/asm-i386/setup.h
index f737e423029..2734909eff8 100644
--- a/include/asm-i386/setup.h
+++ b/include/asm-i386/setup.h
@@ -6,6 +6,7 @@
#ifndef _i386_SETUP_H
#define _i386_SETUP_H
+#ifdef __KERNEL__
#include <linux/pfn.h>
/*
@@ -13,6 +14,7 @@
*/
#define MAXMEM_PFN PFN_DOWN(MAXMEM)
#define MAX_NONPAE_PFN (1 << 20)
+#endif
#define PARAM_SIZE 4096
#define COMMAND_LINE_SIZE 256