summaryrefslogtreecommitdiffstats
path: root/drivers/char/mem.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2006-10-13 17:42:10 +0200
committerLinus Torvalds <torvalds@g5.osdl.org>2006-10-13 17:42:10 +0200
commitb8a3ad5b53918787f4708ad9dfe90d2557cc78dd (patch)
treebd3c9dea0402d6d6f0082f52b548e91a98ccb0f8 /drivers/char/mem.c
parent[PATCH] Fix headers_check for O= builds; disable automatic check on UML. (diff)
downloadlinux-b8a3ad5b53918787f4708ad9dfe90d2557cc78dd.tar.xz
linux-b8a3ad5b53918787f4708ad9dfe90d2557cc78dd.zip
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>
Diffstat (limited to 'drivers/char/mem.c')
-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>