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
..
2009-06-17 09:33:49 -07:00
2009-09-27 04:17:21 -04:00
2009-08-11 14:52:10 -07:00
2009-03-31 14:25:08 -07:00
2009-06-15 14:32:54 -07:00
2009-01-06 14:06:52 +01:00
2009-01-16 10:09:10 +01:00
2009-09-22 07:17:42 -07:00
2009-02-18 15:37:55 -08:00
2009-06-17 09:33:49 -07:00
2009-09-09 13:29:18 -07:00
2008-11-30 11:00:15 -08:00
2009-06-17 09:33:49 -07:00
2008-09-04 09:46:13 +01:00
2009-02-01 11:01:25 +05:30
2009-07-10 14:24:05 -07:00
2009-06-17 09:33:49 -07:00