From: Greg Edwards <edwardsg@sgi.com>
To: linux-ia64@vger.kernel.org
Subject: clean up sn2 region definitions
Date: Fri, 19 Aug 2005 21:52:18 +0000 [thread overview]
Message-ID: <20050819215218.GA21689@sgi.com> (raw)
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)
/*
next reply other threads:[~2005-08-19 21:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-19 21:52 Greg Edwards [this message]
2005-08-19 22:06 ` clean up sn2 region definitions Jesse Barnes
2005-08-20 1:50 ` Greg Edwards
2005-08-22 16:56 ` Greg Edwards
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20050819215218.GA21689@sgi.com \
--to=edwardsg@sgi.com \
--cc=linux-ia64@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox