[IA64] Rationalise Region Definitions
authorPeter Chubb <peterc@gelato.unsw.edu.au>
Wed, 17 Aug 2005 02:54:00 +0000 (19:54 -0700)
committerTony Luck <tony.luck@intel.com>
Wed, 24 Aug 2005 22:35:41 +0000 (15:35 -0700)
commit0a41e2501160587eb8f66cef3bdf1c6f2cb86997
tree9f5b0288c3101344acd22f7e901fe909a8f98df6
parent0572e3da3ff5c3744b2f606ecf296d5f89a4bbdf
[IA64] Rationalise Region Definitions

Currently, region numbers are defined in several files, with several
names.  For example, we have REGION_KERNEL in asm/page.h and
RGN_KERNEL in pgtable.h

We also have address definitions that should depend on the
RGN_XXX macros, but are currently just long constants.

The following patch reorganises all the definitions so that they have
the same form (RGN_XXX), are in one place, and that addresses that
depend on RGN_XXX are derived from them.

(This is a necessary but not sufficient patch to allow UML-like
operation on IA64).

Thanks to David Mosberger for catching the change I missed in mmu_context.h.

Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au>
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/sys_ia64.c
arch/ia64/mm/hugetlbpage.c
include/asm-ia64/io.h
include/asm-ia64/mmu_context.h
include/asm-ia64/page.h
include/asm-ia64/pgtable.h
include/asm-ia64/system.h