linux/arch/ia64/mm
Tejun Heo 126b3fcdec ia64: don't alias VMALLOC_END to vmalloc_end
If CONFIG_VIRTUAL_MEM_MAP is enabled, ia64 defines macro VMALLOC_END
as unsigned long variable vmalloc_end which is adjusted to prepare
room for vmemmap.  This becomes probnlematic 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.

There's no reason VMALLOC_END should be a macro.  Just define it as an
unsigned long variable if CONFIG_VIRTUAL_MEM_MAP is set to avoid nasty
surprises.

Signed-off-by: Tejun Heo <tj@kernel.org>
Acked-by: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Cc: linux-ia64 <linux-ia64@vger.kernel.org>
Cc: Christoph Lameter <cl@linux-foundation.org>
2009-10-02 13:28:55 +09:00
..
Makefile [PATCH] ia64: ioremap: check EFI for valid memory attributes 2006-03-26 08:56:54 -08:00
contig.c ia64: don't alias VMALLOC_END to vmalloc_end 2009-10-02 13:28:55 +09:00
discontig.c ia64: don't alias VMALLOC_END to vmalloc_end 2009-10-02 13:28:55 +09:00
extable.c [IA64] fix compile error in arch/ia64/mm/extable.c 2009-06-15 09:17:50 -07:00
fault.c Move FAULT_FLAG_xyz into handle_mm_fault() callers 2009-06-21 13:08:22 -07:00
hugetlbpage.c GRU Driver: hardware data structures 2008-07-30 09:41:47 -07:00
init.c ia64: don't alias VMALLOC_END to vmalloc_end 2009-10-02 13:28:55 +09:00
ioremap.c [IA64] make ioremap avoid unsupported attributes 2007-03-30 09:37:41 -07:00
numa.c mm: fix memmap init for handling memory hole 2009-02-18 15:37:55 -08:00
tlb.c [IA64] Convert ia64 to use int-ll64.h 2009-06-17 09:33:49 -07:00