diff options
author | David Howells <dhowells@redhat.com> | 2013-04-11 19:10:25 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:42:02 -0400 |
commit | 2f96b8c1d5d492c1d0457b253015330f844136f6 (patch) | |
tree | 3d5ad46b8d227f25ddd1b39e900ea66063d45eaf /fs/proc | |
parent | 303eb7e2c982fda734455f068633241db89d3175 (diff) |
proc: Split kcore bits from linux/procfs.h into linux/kcore.h
Split kcore bits from linux/procfs.h into linux/kcore.h.
Signed-off-by: David Howells <dhowells@redhat.com>
Acked-by: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
cc: linux-mips@linux-mips.org
cc: sparclinux@vger.kernel.org
cc: x86@kernel.org
cc: linux-mm@kvack.org
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/proc')
-rw-r--r-- | fs/proc/kcore.c | 1 | ||||
-rw-r--r-- | fs/proc/vmcore.c | 3 |
2 files changed, 3 insertions, 1 deletions
diff --git a/fs/proc/kcore.c b/fs/proc/kcore.c index eda6f017f272..8e6ce830de44 100644 --- a/fs/proc/kcore.c +++ b/fs/proc/kcore.c | |||
@@ -11,6 +11,7 @@ | |||
11 | 11 | ||
12 | #include <linux/mm.h> | 12 | #include <linux/mm.h> |
13 | #include <linux/proc_fs.h> | 13 | #include <linux/proc_fs.h> |
14 | #include <linux/kcore.h> | ||
14 | #include <linux/user.h> | 15 | #include <linux/user.h> |
15 | #include <linux/capability.h> | 16 | #include <linux/capability.h> |
16 | #include <linux/elf.h> | 17 | #include <linux/elf.h> |
diff --git a/fs/proc/vmcore.c b/fs/proc/vmcore.c index b870f740ab5a..38edddc25816 100644 --- a/fs/proc/vmcore.c +++ b/fs/proc/vmcore.c | |||
@@ -8,7 +8,7 @@ | |||
8 | */ | 8 | */ |
9 | 9 | ||
10 | #include <linux/mm.h> | 10 | #include <linux/mm.h> |
11 | #include <linux/proc_fs.h> | 11 | #include <linux/kcore.h> |
12 | #include <linux/user.h> | 12 | #include <linux/user.h> |
13 | #include <linux/elf.h> | 13 | #include <linux/elf.h> |
14 | #include <linux/elfcore.h> | 14 | #include <linux/elfcore.h> |
@@ -22,6 +22,7 @@ | |||
22 | #include <linux/list.h> | 22 | #include <linux/list.h> |
23 | #include <asm/uaccess.h> | 23 | #include <asm/uaccess.h> |
24 | #include <asm/io.h> | 24 | #include <asm/io.h> |
25 | #include "internal.h" | ||
25 | 26 | ||
26 | /* List representing chunks of contiguous memory areas and their offsets in | 27 | /* List representing chunks of contiguous memory areas and their offsets in |
27 | * vmcore file. | 28 | * vmcore file. |