diff options
author | Mike Frysinger <vapier.adi@gmail.com> | 2008-08-13 08:16:11 (GMT) |
---|---|---|
committer | Bryan Wu <cooloney@kernel.org> | 2008-08-13 08:16:11 (GMT) |
commit | 07aa7be5708afb3d9afa68f6f853c98e51bc64b3 (patch) | |
tree | 808fe87c382fb0a1b9432c75989da81f7f9efdd1 /arch/blackfin/kernel/traps.c | |
parent | 17e89bcfa12f71b840361da07fe6c2f9c48d0605 (diff) | |
download | linux-fsl-qoriq-07aa7be5708afb3d9afa68f6f853c98e51bc64b3.tar.xz |
Blackfin arch: convert L2 defines to be the same as the L1 defines
Signed-off-by: Mike Frysinger <vapier.adi@gmail.com>
Signed-off-by: Bryan Wu <cooloney@kernel.org>
Diffstat (limited to 'arch/blackfin/kernel/traps.c')
-rw-r--r-- | arch/blackfin/kernel/traps.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/blackfin/kernel/traps.c b/arch/blackfin/kernel/traps.c index ad922ab..62a47d6 100644 --- a/arch/blackfin/kernel/traps.c +++ b/arch/blackfin/kernel/traps.c @@ -567,7 +567,7 @@ bool get_instruction(unsigned short *val, unsigned short *address) * we don't read something in the async space that can hang forever */ if ((addr >= FIXED_CODE_START && (addr + 2) <= physical_mem_end) || -#ifdef L2_START +#if L2_LENGTH != 0 (addr >= L2_START && (addr + 2) <= (L2_START + L2_LENGTH)) || #endif (addr >= BOOT_ROM_START && (addr + 2) <= (BOOT_ROM_START + BOOT_ROM_LENGTH)) || |