2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 21:54:06 +08:00
linux-next/arch/m68k/sun3
Tejun Heo 51e99be00c m68k: rename global variable vmalloc_end to m68k_vmalloc_end
On SUN3, m68k defines macro VMALLOC_END as unsigned long variable
vmalloc_end which is adjusted from mmu_emu_init().  This becomes
problematic if a local variables vmalloc_end is defined in some
function (not very unlikely) and VMALLOC_END is used in the function -
the function thinks its referencing the global VMALLOC_END value but
would be referencing its own local vmalloc_end variable.

Rename the global variable to m68k_vmlloc_end which is much less
likely to be used as local variable name.

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Roman Zippel <zippel@linux-m68k.org>
2009-12-09 17:43:19 +09:00
..
prom m68k: remove AP1000 code 2008-07-20 17:24:38 -07:00
config.c m68k: Kill several external declarations in source files 2009-01-12 20:56:34 +01:00
dvma.c m68k/sun3/: possible cleanups 2008-07-20 17:24:39 -07:00
idprom.c m68k/sun3/: possible cleanups 2008-07-20 17:24:39 -07:00
intersil.c arch: Remove unnecessary inclusions of asm/semaphore.h 2008-04-18 22:14:49 -04:00
leds.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
Makefile m68k/sun3/: possible cleanups 2008-07-20 17:24:39 -07:00
mmu_emu.c m68k: rename global variable vmalloc_end to m68k_vmalloc_end 2009-12-09 17:43:19 +09:00
sun3dvma.c m68k/sun3/: possible cleanups 2008-07-20 17:24:39 -07:00
sun3ints.c m68k: sun3 core - Kill warn_unused_result warnings 2009-01-12 20:56:38 +01:00