diff options
author | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-09 00:22:48 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@pollux.denx.de> | 2005-10-09 00:22:48 +0200 |
commit | 96782c63d3bd4067623895b8691ed2823c715f1d (patch) | |
tree | 7cdf8a7a2a40206c4e9009cd6eb63866e18b2f5f /cpu/arm1136/interrupts.c | |
parent | b8e16a3450fb9853a8b0ff617d70f1121b32c4c0 (diff) | |
download | u-boot-imx-96782c63d3bd4067623895b8691ed2823c715f1d.zip u-boot-imx-96782c63d3bd4067623895b8691ed2823c715f1d.tar.gz u-boot-imx-96782c63d3bd4067623895b8691ed2823c715f1d.tar.bz2 |
Cleanup warnings for cpu/arm720t & cpu/arm1136 files.
sed the linker scripts, rather than pre-process them.
Patch by Peter Pearse, 07 Oct 2005
Diffstat (limited to 'cpu/arm1136/interrupts.c')
-rw-r--r-- | cpu/arm1136/interrupts.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/cpu/arm1136/interrupts.c b/cpu/arm1136/interrupts.c index 6b1449e..1dc36d0 100644 --- a/cpu/arm1136/interrupts.c +++ b/cpu/arm1136/interrupts.c @@ -33,7 +33,7 @@ #include <common.h> #include <asm/arch/bits.h> -#if !defined(CONFIG_INTEGRATOR) || ! defined(CONFIG_ARCH_CINTEGRATOR) +#if !defined(CONFIG_INTEGRATOR) && ! defined(CONFIG_ARCH_CINTEGRATOR) # include <asm/arch/omap2420.h> #endif @@ -176,12 +176,13 @@ void do_irq (struct pt_regs *pt_regs) bad_mode (); } -static ulong timestamp; -static ulong lastinc; - #if defined(CONFIG_INTEGRATOR) && defined(CONFIG_ARCH_CINTEGRATOR) /* Use the IntegratorCP function from board/integratorcp.c */ #else + +static ulong timestamp; +static ulong lastinc; + /* nothing really to do with interrupts, just starts up a counter. */ int interrupt_init (void) { |