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.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-i386/setup.h b/include/asm-i386/setup.h
index 826a8ca..ee94145 100644
--- a/include/asm-i386/setup.h
+++ b/include/asm-i386/setup.h
@@ -6,9 +6,7 @@
#ifndef _i386_SETUP_H
#define _i386_SETUP_H
-#define PFN_UP(x) (((x) + PAGE_SIZE-1) >> PAGE_SHIFT)
-#define PFN_DOWN(x) ((x) >> PAGE_SHIFT)
-#define PFN_PHYS(x) ((x) << PAGE_SHIFT)
+#include <linux/pfn.h>
/*
* Reserved space for vmalloc and iomap - defined in asm/page.h
OpenPOWER on IntegriCloud