summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-10-13 08:42:10 -0700
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-13 08:42:10 -0700
commitb8a3ad5b53918787f4708ad9dfe90d2557cc78dd (patch)
treebd3c9dea0402d6d6f0082f52b548e91a98ccb0f8
parent0e7af8d04ecb4f6ba8cd1f731f036a004ad0e174 (diff)
Include proper header file for PFN_DOWN()
The recent commit (99a10a60ba9bedcf5d70ef81414d3e03816afa3f) to fix up mmap_kmem() broke compiles because it used PFN_DOWN() without including <linux/pfn.h>. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r--drivers/char/mem.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/char/mem.c b/drivers/char/mem.c
index a89cb52228c2..55473371b7c6 100644
--- a/drivers/char/mem.c
+++ b/drivers/char/mem.c
@@ -26,6 +26,7 @@
#include <linux/backing-dev.h>
#include <linux/bootmem.h>
#include <linux/pipe_fs_i.h>
+#include <linux/pfn.h>
#include <asm/uaccess.h>
#include <asm/io.h>