public inbox for linux-ia64@vger.kernel.org
 help / color / mirror / Atom feed
* clean up sn2 region definitions
@ 2005-08-19 21:52 Greg Edwards
  2005-08-19 22:06 ` Jesse Barnes
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Greg Edwards @ 2005-08-19 21:52 UTC (permalink / raw)
  To: linux-ia64

Clean up some region definitions we had in sn2 code.  Requires Peter's
patch:

Rationalise Region Definitions
http://marc.theaimsgroup.com/?l=linux-ia64&m\x112424745806814&w=2

Signed-off-by: Greg Edwards <edwardsg@sgi.com>


 include/asm-ia64/sn/addrs.h |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

Index: git-linus/include/asm-ia64/sn/addrs.h
=================================--- git-linus.orig/include/asm-ia64/sn/addrs.h	2005-08-19 16:06:57.517692735 -0500
+++ git-linus/include/asm-ia64/sn/addrs.h	2005-08-19 16:12:34.967177871 -0500
@@ -65,7 +65,7 @@
 
 #define NASID_MASK              ((u64)NASID_BITMASK << NASID_SHIFT)
 #define AS_MASK			((u64)AS_BITMASK << AS_SHIFT)
-#define REGION_BITS		0xe000000000000000UL
+#define REGION_BITS		RGN_BASE(KHIGH)
 
 
 /*
@@ -82,9 +82,9 @@
 /*
  * Base addresses for various address ranges.
  */
-#define CACHED			0xe000000000000000UL
-#define UNCACHED                0xc000000000000000UL
-#define UNCACHED_PHYS           0x8000000000000000UL
+#define CACHED			RGN_BASE(RGN_KERNEL)
+#define UNCACHED                RGN_BASE(RGN_UNCACHED)
+#define UNCACHED_PHYS           RGN_BASE(RGN_HPAGE)
 
 
 /* 

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-08-22 16:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 21:52 clean up sn2 region definitions Greg Edwards
2005-08-19 22:06 ` Jesse Barnes
2005-08-20  1:50 ` Greg Edwards
2005-08-22 16:56 ` Greg Edwards

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox