提交 343ac722 编写于 作者: P Paul Mundt

sh: Move over the SH-5 entry.S.

Signed-off-by: NPaul Mundt <lethal@linux-sh.org>
上级 49e6c3e7
...@@ -6,8 +6,14 @@ obj-$(CONFIG_CPU_SH2) = sh2/ ...@@ -6,8 +6,14 @@ obj-$(CONFIG_CPU_SH2) = sh2/
obj-$(CONFIG_CPU_SH2A) = sh2a/ obj-$(CONFIG_CPU_SH2A) = sh2a/
obj-$(CONFIG_CPU_SH3) = sh3/ obj-$(CONFIG_CPU_SH3) = sh3/
obj-$(CONFIG_CPU_SH4) = sh4/ obj-$(CONFIG_CPU_SH4) = sh4/
obj-$(CONFIG_CPU_SH5) = sh5/
# Special cases for family ancestry.
obj-$(CONFIG_CPU_SH4A) += sh4a/ obj-$(CONFIG_CPU_SH4A) += sh4a/
# Common interfaces.
obj-$(CONFIG_UBC_WAKEUP) += ubc.o obj-$(CONFIG_UBC_WAKEUP) += ubc.o
obj-$(CONFIG_SH_ADC) += adc.o obj-$(CONFIG_SH_ADC) += adc.o
......
...@@ -10,12 +10,10 @@ ...@@ -10,12 +10,10 @@
* Copyright (C) 2003, 2004 Richard Curnow * Copyright (C) 2003, 2004 Richard Curnow
* *
*/ */
#include <linux/errno.h> #include <linux/errno.h>
#include <linux/sys.h> #include <linux/sys.h>
#include <asm/cpu/registers.h>
#include <asm/processor.h> #include <asm/processor.h>
#include <asm/registers.h>
#include <asm/unistd.h> #include <asm/unistd.h>
#include <asm/thread_info.h> #include <asm/thread_info.h>
#include <asm/asm-offsets.h> #include <asm/asm-offsets.h>
......
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
#include <asm/cpu-features.h> #include <asm/cpu-features.h>
#ifndef __ASSEMBLY__
/* /*
* CPU type and hardware bug flags. Kept separately for each CPU. * CPU type and hardware bug flags. Kept separately for each CPU.
* *
...@@ -40,11 +42,8 @@ enum cpu_type { ...@@ -40,11 +42,8 @@ enum cpu_type {
CPU_SH_NONE CPU_SH_NONE
}; };
#ifdef CONFIG_SUPERH32 /* Forward decl */
# include "processor_32.h" struct sh_cpuinfo;
#else
# include "processor_64.h"
#endif
/* arch/sh/kernel/setup.c */ /* arch/sh/kernel/setup.c */
const char *get_cpu_subtype(struct sh_cpuinfo *c); const char *get_cpu_subtype(struct sh_cpuinfo *c);
...@@ -55,4 +54,12 @@ int vsyscall_init(void); ...@@ -55,4 +54,12 @@ int vsyscall_init(void);
#define vsyscall_init() do { } while (0) #define vsyscall_init() do { } while (0)
#endif #endif
#endif /* __ASSEMBLY__ */
#ifdef CONFIG_SUPERH32
# include "processor_32.h"
#else
# include "processor_64.h"
#endif
#endif /* __ASM_SH_PROCESSOR_H */ #endif /* __ASM_SH_PROCESSOR_H */
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册