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