0abfd9885545ce02a5ef4fc0517646673b319b77
[openwrt/svn-archive/archive.git] / target / linux / brcm63xx / patches-2.6.25 / 080-bcm963xx_remove_unused_int_handler.patch
1 From e3abd028e7631ee952fe73d8f9ee97bc615526a8 Mon Sep 17 00:00:00 2001
2 From: Axel Gembe <ago@bastart.eu.org>
3 Date: Sat, 17 May 2008 16:07:46 +0200
4 Subject: [PATCH] bcm963xx: remove unused int-handler.S
5
6 The code is not used anymore.
7
8 Signed-off-by: Axel Gembe <ago@bastart.eu.org>
9 ---
10 arch/mips/bcm963xx/Makefile | 2 +-
11 arch/mips/bcm963xx/int-handler.S | 59 --------------------------------------
12 2 files changed, 1 insertions(+), 60 deletions(-)
13 delete mode 100644 arch/mips/bcm963xx/int-handler.S
14
15 --- a/arch/mips/bcm963xx/Makefile
16 +++ b/arch/mips/bcm963xx/Makefile
17 @@ -3,7 +3,7 @@
18 #
19 # Copyright (C) 2004 Broadcom Corporation
20 #
21 -obj-y := irq.o prom.o setup.o time.o ser_init.o int-handler.o info.o wdt.o
22 +obj-y := irq.o prom.o setup.o time.o ser_init.o info.o wdt.o
23
24 SRCBASE := $(TOPDIR)
25 EXTRA_CFLAGS += -I$(SRCBASE)/include
26 --- a/arch/mips/bcm963xx/int-handler.S
27 +++ /dev/null
28 @@ -1,59 +0,0 @@
29 -/*
30 -<:copyright-gpl
31 - Copyright 2002 Broadcom Corp. All Rights Reserved.
32 -
33 - This program is free software; you can distribute it and/or modify it
34 - under the terms of the GNU General Public License (Version 2) as
35 - published by the Free Software Foundation.
36 -
37 - This program is distributed in the hope it will be useful, but WITHOUT
38 - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
39 - FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
40 - for more details.
41 -
42 - You should have received a copy of the GNU General Public License along
43 - with this program; if not, write to the Free Software Foundation, Inc.,
44 - 59 Temple Place - Suite 330, Boston MA 02111-1307, USA.
45 -:>
46 -*/
47 -/*
48 - * Generic interrupt handler for Broadcom MIPS boards
49 - */
50 -
51 -#include <linux/autoconf.h>
52 -
53 -#include <asm/asm.h>
54 -#include <asm/mipsregs.h>
55 -#include <asm/regdef.h>
56 -#include <asm/stackframe.h>
57 -
58 -/*
59 - * MIPS IRQ Source
60 - * -------- ------
61 - * 0 Software (ignored)
62 - * 1 Software (ignored)
63 - * 2 Combined hardware interrupt (hw0)
64 - * 3 Hardware
65 - * 4 Hardware
66 - * 5 Hardware
67 - * 6 Hardware
68 - * 7 R4k timer
69 - */
70 -
71 - .text
72 - .set noreorder
73 - .set noat
74 - .align 5
75 - NESTED(brcmIRQ, PT_SIZE, sp)
76 - SAVE_ALL
77 - CLI
78 - .set noreorder
79 - .set at
80 -
81 - jal plat_irq_dispatch
82 - move a0, sp
83 -
84 - j ret_from_irq
85 - nop
86 -
87 - END(brcmIRQ)