Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 225748
b: refs/heads/master
c: 7627dc8
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed Dec 14, 2010
1 parent b64e491 commit c16761e
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 17 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bef8f9ee32511a28f1c9a7d3b8c51cdac030b564
refs/heads/master: 7627dc802a98aebebc6a34e5b6558ea4717c968c
7 changes: 7 additions & 0 deletions trunk/arch/arm/include/asm/hardware/entry-macro-gic.S
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,13 @@

#include <asm/hardware/gic.h>

#ifndef HAVE_GET_IRQNR_PREAMBLE
.macro get_irqnr_preamble, base, tmp
ldr \base, =gic_cpu_base_addr
ldr \base, [\base]
.endm
#endif

/*
* The interrupt numbering scheme is defined in the
* interrupt controller spec. To wit:
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-cns3xxx/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,5 @@
.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =gic_cpu_base_addr
ldr \base, [\base]
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-omap2/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ omap_irq_base: .word 0


#ifdef CONFIG_ARCH_OMAP4
#define HAVE_GET_IRQNR_PREAMBLE
#include <asm/hardware/entry-macro-gic.S>

.macro get_irqnr_preamble, base, tmp
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-realview/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,6 @@
.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =gic_cpu_base_addr
ldr \base, [\base]
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-tegra/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#include <mach/io.h>

#if defined(CONFIG_ARM_GIC)

#define HAVE_GET_IRQNR_PREAMBLE
#include <asm/hardware/entry-macro-gic.S>

/* Uses the GIC interrupt controller built into the cpu */
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/arm/mach-ux500/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
* warranty of any kind, whether express or implied.
*/
#include <mach/hardware.h>
#define HAVE_GET_IRQNR_PREAMBLE
#include <asm/hardware/entry-macro-gic.S>

.macro disable_fiq
Expand Down
5 changes: 0 additions & 5 deletions trunk/arch/arm/mach-vexpress/include/mach/entry-macro.S
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,5 @@
.macro disable_fiq
.endm

.macro get_irqnr_preamble, base, tmp
ldr \base, =gic_cpu_base_addr
ldr \base, [\base]
.endm

.macro arch_ret_to_user, tmp1, tmp2
.endm

0 comments on commit c16761e

Please sign in to comment.