sh: build fixes for defconfigs.

Get all of the defconfigs building again.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
Paul Mundt
2006-10-03 13:14:04 +09:00
parent 059fbd6a5e
commit 711fa80968
16 changed files with 34 additions and 34 deletions

View File

@ -10,8 +10,8 @@
* for more details.
*
*/
#include <linux/sys.h>
#include <linux/errno.h>
#include <linux/linkage.h>
#include <asm/asm-offsets.h>
#include <asm/thread_info.h>
@ -53,10 +53,6 @@
* syscall #
*
*/
ENOSYS = 38
EINVAL = 22
#if defined(CONFIG_KGDB_NMI)
NMI_VEC = 0x1c0 ! Must catch early for debounce
#endif

View File

@ -1,5 +1,4 @@
/* $Id: setup.c,v 1.30 2003/10/13 07:21:19 lethal Exp $
*
/*
* linux/arch/sh/kernel/setup.c
*
* Copyright (C) 1999 Niibe Yutaka
@ -21,6 +20,7 @@
#include <linux/utsname.h>
#include <linux/cpu.h>
#include <linux/pfn.h>
#include <linux/fs.h>
#include <asm/uaccess.h>
#include <asm/io.h>
#include <asm/sections.h>

View File

@ -72,6 +72,7 @@ DECLARE_EXPORT(__ashrdi3);
DECLARE_EXPORT(__ashldi3);
DECLARE_EXPORT(__lshrdi3);
DECLARE_EXPORT(__movstr);
DECLARE_EXPORT(__movstrSI16);
EXPORT_SYMBOL(strcpy);