projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e7af8d
)
Include proper header file for PFN_DOWN()
author
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 13 Oct 2006 15:42:10 +0000
(08:42 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Fri, 13 Oct 2006 15:42:10 +0000
(08:42 -0700)
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>
drivers/char/mem.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/char/mem.c
b/drivers/char/mem.c
index a89cb52228c2ccf14d7df0317b646f30f407610e..55473371b7c6934abe8486af6fc3055701187140 100644
(file)
--- 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>