diff options
Diffstat (limited to 'arch/sh')
-rw-r--r-- | arch/sh/drivers/dma/dma-sysfs.c | 1 | ||||
-rw-r--r-- | arch/sh/kernel/cpufreq.c | 1 | ||||
-rw-r--r-- | arch/sh/kernel/ptrace.c | 2 | ||||
-rw-r--r-- | arch/sh/kernel/time.c | 4 |
4 files changed, 3 insertions, 5 deletions
diff --git a/arch/sh/drivers/dma/dma-sysfs.c b/arch/sh/drivers/dma/dma-sysfs.c index 71a6d4e7809f..6e3b58bd8795 100644 --- a/arch/sh/drivers/dma/dma-sysfs.c +++ b/arch/sh/drivers/dma/dma-sysfs.c | |||
@@ -13,6 +13,7 @@ | |||
13 | #include <linux/init.h> | 13 | #include <linux/init.h> |
14 | #include <linux/sysdev.h> | 14 | #include <linux/sysdev.h> |
15 | #include <linux/module.h> | 15 | #include <linux/module.h> |
16 | #include <linux/string.h> | ||
16 | #include <asm/dma.h> | 17 | #include <asm/dma.h> |
17 | 18 | ||
18 | static struct sysdev_class dma_sysclass = { | 19 | static struct sysdev_class dma_sysclass = { |
diff --git a/arch/sh/kernel/cpufreq.c b/arch/sh/kernel/cpufreq.c index e0b384bef55f..47abf6e49dfb 100644 --- a/arch/sh/kernel/cpufreq.c +++ b/arch/sh/kernel/cpufreq.c | |||
@@ -20,6 +20,7 @@ | |||
20 | #include <linux/delay.h> | 20 | #include <linux/delay.h> |
21 | #include <linux/cpumask.h> | 21 | #include <linux/cpumask.h> |
22 | #include <linux/smp.h> | 22 | #include <linux/smp.h> |
23 | #include <linux/sched.h> /* set_cpus_allowed() */ | ||
23 | 24 | ||
24 | #include <asm/processor.h> | 25 | #include <asm/processor.h> |
25 | #include <asm/watchdog.h> | 26 | #include <asm/watchdog.h> |
diff --git a/arch/sh/kernel/ptrace.c b/arch/sh/kernel/ptrace.c index b28919b65682..1fbe5a428e31 100644 --- a/arch/sh/kernel/ptrace.c +++ b/arch/sh/kernel/ptrace.c | |||
@@ -80,7 +80,7 @@ void ptrace_disable(struct task_struct *child) | |||
80 | /* nothing to do.. */ | 80 | /* nothing to do.. */ |
81 | } | 81 | } |
82 | 82 | ||
83 | asmlinkage int sys_ptrace(long request, long pid, long addr, long data) | 83 | asmlinkage long sys_ptrace(long request, long pid, long addr, long data) |
84 | { | 84 | { |
85 | struct task_struct *child; | 85 | struct task_struct *child; |
86 | struct user * dummy = NULL; | 86 | struct user * dummy = NULL; |
diff --git a/arch/sh/kernel/time.c b/arch/sh/kernel/time.c index 02ca69918d7c..671b876416bf 100644 --- a/arch/sh/kernel/time.c +++ b/arch/sh/kernel/time.c | |||
@@ -56,10 +56,6 @@ extern unsigned long wall_jiffies; | |||
56 | #define TICK_SIZE (tick_nsec / 1000) | 56 | #define TICK_SIZE (tick_nsec / 1000) |
57 | DEFINE_SPINLOCK(tmu0_lock); | 57 | DEFINE_SPINLOCK(tmu0_lock); |
58 | 58 | ||
59 | u64 jiffies_64 = INITIAL_JIFFIES; | ||
60 | |||
61 | EXPORT_SYMBOL(jiffies_64); | ||
62 | |||
63 | /* XXX: Can we initialize this in a routine somewhere? Dreamcast doesn't want | 59 | /* XXX: Can we initialize this in a routine somewhere? Dreamcast doesn't want |
64 | * these routines anywhere... */ | 60 | * these routines anywhere... */ |
65 | #ifdef CONFIG_SH_RTC | 61 | #ifdef CONFIG_SH_RTC |