bcm963xx: rewrite irq handling code
[openwrt.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 diff --git a/arch/mips/bcm963xx/Makefile b/arch/mips/bcm963xx/Makefile
16 index a9d1e55..77fbd84 100644
17 --- a/arch/mips/bcm963xx/Makefile
18 +++ b/arch/mips/bcm963xx/Makefile
19 @@ -3,7 +3,7 @@
20  #
21  # Copyright (C) 2004 Broadcom Corporation
22  #
23 -obj-y           := irq.o prom.o setup.o time.o ser_init.o int-handler.o info.o wdt.o
24 +obj-y           := irq.o prom.o setup.o time.o ser_init.o info.o wdt.o
25  
26  SRCBASE         := $(TOPDIR)
27  EXTRA_CFLAGS    += -I$(SRCBASE)/include
28 diff --git a/arch/mips/bcm963xx/int-handler.S b/arch/mips/bcm963xx/int-handler.S
29 deleted file mode 100644
30 index a7a9c9d..0000000
31 --- a/arch/mips/bcm963xx/int-handler.S
32 +++ /dev/null
33 @@ -1,59 +0,0 @@
34 -/*
35 -<:copyright-gpl 
36 - Copyright 2002 Broadcom Corp. All Rights Reserved. 
37
38 - This program is free software; you can distribute it and/or modify it 
39 - under the terms of the GNU General Public License (Version 2) as 
40 - published by the Free Software Foundation. 
41
42 - This program is distributed in the hope it will be useful, but WITHOUT 
43 - ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 
44 - FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License 
45 - for more details. 
46
47 - You should have received a copy of the GNU General Public License along 
48 - with this program; if not, write to the Free Software Foundation, Inc., 
49 - 59 Temple Place - Suite 330, Boston MA 02111-1307, USA. 
50 -:>
51 -*/
52 -/*
53 - * Generic interrupt handler for Broadcom MIPS boards
54 - */
55 -
56 -#include <linux/autoconf.h>
57 -
58 -#include <asm/asm.h>
59 -#include <asm/mipsregs.h>
60 -#include <asm/regdef.h>
61 -#include <asm/stackframe.h>
62 -
63 -/*
64 - *     MIPS IRQ        Source
65 - *      --------        ------
66 - *             0       Software (ignored)
67 - *             1        Software (ignored)
68 - *             2        Combined hardware interrupt (hw0)
69 - *             3        Hardware
70 - *             4        Hardware
71 - *             5        Hardware
72 - *             6        Hardware
73 - *             7        R4k timer
74 - */
75 -
76 -       .text
77 -       .set    noreorder
78 -       .set    noat
79 -       .align  5
80 -       NESTED(brcmIRQ, PT_SIZE, sp)
81 -       SAVE_ALL
82 -       CLI
83 -       .set    noreorder
84 -       .set    at
85 -
86 -       jal             plat_irq_dispatch
87 -       move    a0, sp
88 -
89 -       j       ret_from_irq
90 -       nop
91 -               
92 -       END(brcmIRQ)
93 -- 
94 1.5.5.1
95