aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2006-10-03 00:14:04 -0400
committerPaul Mundt <lethal@linux-sh.org>2006-10-03 00:14:04 -0400
commit711fa8096863e4b50bb97f9ebc44606dc2182ac3 (patch)
tree6d0a3a76a0945db8f61957d5b7542a18ab7fc0db /arch/sh/kernel
parent059fbd6a5ee9a35ac9f15edb2876a50bd88a008d (diff)
sh: build fixes for defconfigs.
Get all of the defconfigs building again. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/kernel')
-rw-r--r--arch/sh/kernel/entry.S6
-rw-r--r--arch/sh/kernel/setup.c4
-rw-r--r--arch/sh/kernel/sh_ksyms.c1
3 files changed, 4 insertions, 7 deletions
diff --git a/arch/sh/kernel/entry.S b/arch/sh/kernel/entry.S
index fe8221855b28..97c571fbcdf1 100644
--- a/arch/sh/kernel/entry.S
+++ b/arch/sh/kernel/entry.S
@@ -10,8 +10,8 @@
10 * for more details. 10 * for more details.
11 * 11 *
12 */ 12 */
13
14#include <linux/sys.h> 13#include <linux/sys.h>
14#include <linux/errno.h>
15#include <linux/linkage.h> 15#include <linux/linkage.h>
16#include <asm/asm-offsets.h> 16#include <asm/asm-offsets.h>
17#include <asm/thread_info.h> 17#include <asm/thread_info.h>
@@ -53,10 +53,6 @@
53 * syscall # 53 * syscall #
54 * 54 *
55 */ 55 */
56
57ENOSYS = 38
58EINVAL = 22
59
60#if defined(CONFIG_KGDB_NMI) 56#if defined(CONFIG_KGDB_NMI)
61NMI_VEC = 0x1c0 ! Must catch early for debounce 57NMI_VEC = 0x1c0 ! Must catch early for debounce
62#endif 58#endif
diff --git a/arch/sh/kernel/setup.c b/arch/sh/kernel/setup.c
index 77491cf9b259..36d86f9ac38a 100644
--- a/arch/sh/kernel/setup.c
+++ b/arch/sh/kernel/setup.c
@@ -1,5 +1,4 @@
1/* $Id: setup.c,v 1.30 2003/10/13 07:21:19 lethal Exp $ 1/*
2 *
3 * linux/arch/sh/kernel/setup.c 2 * linux/arch/sh/kernel/setup.c
4 * 3 *
5 * Copyright (C) 1999 Niibe Yutaka 4 * Copyright (C) 1999 Niibe Yutaka
@@ -21,6 +20,7 @@
21#include <linux/utsname.h> 20#include <linux/utsname.h>
22#include <linux/cpu.h> 21#include <linux/cpu.h>
23#include <linux/pfn.h> 22#include <linux/pfn.h>
23#include <linux/fs.h>
24#include <asm/uaccess.h> 24#include <asm/uaccess.h>
25#include <asm/io.h> 25#include <asm/io.h>
26#include <asm/sections.h> 26#include <asm/sections.h>
diff --git a/arch/sh/kernel/sh_ksyms.c b/arch/sh/kernel/sh_ksyms.c
index d3cbfa2ad4a7..9daad70bc305 100644
--- a/arch/sh/kernel/sh_ksyms.c
+++ b/arch/sh/kernel/sh_ksyms.c
@@ -72,6 +72,7 @@ DECLARE_EXPORT(__ashrdi3);
72DECLARE_EXPORT(__ashldi3); 72DECLARE_EXPORT(__ashldi3);
73DECLARE_EXPORT(__lshrdi3); 73DECLARE_EXPORT(__lshrdi3);
74DECLARE_EXPORT(__movstr); 74DECLARE_EXPORT(__movstr);
75DECLARE_EXPORT(__movstrSI16);
75 76
76EXPORT_SYMBOL(strcpy); 77EXPORT_SYMBOL(strcpy);
77 78