aboutsummaryrefslogtreecommitdiff
path: root/arch/sh64/kernel/process.c
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2007-11-05 12:18:17 +0900
committerPaul Mundt <lethal@linux-sh.org>2007-11-05 12:18:17 +0900
commitc26056bc488567ff769d8623e169598e4fd5d21a (patch)
tree99a4d801dd126ff31d20bdb1add8f7132615c8bc /arch/sh64/kernel/process.c
parentb55d1b1814c52463c11707f53dbdc223e09b2924 (diff)
sh64: Kill off duplicate includes.
Follow the sh change. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh64/kernel/process.c')
-rw-r--r--arch/sh64/kernel/process.c10
1 files changed, 3 insertions, 7 deletions
diff --git a/arch/sh64/kernel/process.c b/arch/sh64/kernel/process.c
index ceb9458abda..0761af4d2a4 100644
--- a/arch/sh64/kernel/process.c
+++ b/arch/sh64/kernel/process.c
@@ -26,6 +26,7 @@
#include <linux/reboot.h>
#include <linux/init.h>
#include <linux/module.h>
+#include <linux/proc_fs.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
@@ -656,9 +657,6 @@ unsigned long get_wchan(struct task_struct *p)
*/
#if defined(CONFIG_SH64_PROC_ASIDS)
-#include <linux/init.h>
-#include <linux/proc_fs.h>
-
static int
asids_proc_info(char *buf, char **start, off_t fpos, int length, int *eof, void *data)
{
@@ -686,10 +684,8 @@ asids_proc_info(char *buf, char **start, off_t fpos, int length, int *eof, void
static int __init register_proc_asids(void)
{
- create_proc_read_entry("asids", 0, NULL, asids_proc_info, NULL);
- return 0;
+ create_proc_read_entry("asids", 0, NULL, asids_proc_info, NULL);
+ return 0;
}
-
__initcall(register_proc_asids);
#endif
-