From f9524ab9ce537693e60de35df3ba4c0fd106cbd0 Mon Sep 17 00:00:00 2001 From: Paul Mundt Date: Tue, 20 Nov 2007 18:33:03 +0900 Subject: [PATCH] --- yaml --- r: 77756 b: refs/heads/master c: e88ed82ef8c385f84333cb8f30aec6dcb1f9e76f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/sh/kernel/cpu/sh5/Makefile | 7 +++++++ trunk/arch/sh/kernel/cpu/sh5/setup-sh5-101.c | 15 +++++++++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 trunk/arch/sh/kernel/cpu/sh5/setup-sh5-101.c diff --git a/[refs] b/[refs] index 16ad068277ea..c39d087c7793 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c2672f62e734292bca4ce4ab5e89c7e04ecb70dc +refs/heads/master: e88ed82ef8c385f84333cb8f30aec6dcb1f9e76f diff --git a/trunk/arch/sh/kernel/cpu/sh5/Makefile b/trunk/arch/sh/kernel/cpu/sh5/Makefile index c7a9873c8d57..0ef257b72e5d 100644 --- a/trunk/arch/sh/kernel/cpu/sh5/Makefile +++ b/trunk/arch/sh/kernel/cpu/sh5/Makefile @@ -1,4 +1,11 @@ +# +# Makefile for the Linux/SuperH SH-5 backends. +# obj-y := entry.o probe.o switchto.o obj-$(CONFIG_SH_FPU) += fpu.o obj-$(CONFIG_KALLSYMS) += unwind.o + +# CPU subtype setup +obj-$(CONFIG_CPU_SUBTYPE_SH5_101) += setup-sh5-101.o +obj-$(CONFIG_CPU_SUBTYPE_SH5_103) += setup-sh5-101.o diff --git a/trunk/arch/sh/kernel/cpu/sh5/setup-sh5-101.c b/trunk/arch/sh/kernel/cpu/sh5/setup-sh5-101.c new file mode 100644 index 000000000000..3680012d7109 --- /dev/null +++ b/trunk/arch/sh/kernel/cpu/sh5/setup-sh5-101.c @@ -0,0 +1,15 @@ +/* + * SH5-101 Setup + * + * Copyright (C) 2007 Paul Mundt + * + * This file is subject to the terms and conditions of the GNU General Public + * License. See the file "COPYING" in the main directory of this archive + * for more details. + */ +#include + +void __init plat_irq_setup(void) +{ + /* do nothing - all IRL interrupts are handled by the board code */ +}