linux-next.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Russ Anderson <rja@sgi.com>
To: linux-next@vger.kernel.org, Ingo Molnar <mingo@elte.hu>
Cc: Russ Anderson <rja@sgi.com>
Subject: [patch] x86: UV: Pass PAGE_OFFSET to bios for runtime access to chipset registers.
Date: Tue, 21 Apr 2009 09:23:13 -0500	[thread overview]
Message-ID: <20090421142313.GA32733@sgi.com> (raw)

Pass PAGE_OFFSET to bios for runtime access to chipset registers.

Signed-off-by: Russ Anderson <rja@sgi.com>

---
 arch/x86/kernel/bios_uv.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux/arch/x86/kernel/bios_uv.c
===================================================================
--- linux.orig/arch/x86/kernel/bios_uv.c	2009-04-20 14:38:47.000000000 -0500
+++ linux/arch/x86/kernel/bios_uv.c	2009-04-20 14:41:01.000000000 -0500
@@ -84,7 +84,7 @@ s64 uv_bios_get_sn_info(int fc, int *uvt
 	union partition_info_u part;
 
 	ret = uv_bios_call_irqsave(UV_BIOS_GET_SN_INFO, fc,
-				(u64)(&v0), (u64)(&v1), 0, 0);
+				(u64)(&v0), (u64)(&v1), (u64)PAGE_OFFSET, 0);
 	if (ret != BIOS_STATUS_SUCCESS)
 		return ret;
 
-- 
Russ Anderson, OS RAS/Partitioning Project Lead  
SGI - Silicon Graphics Inc          rja@sgi.com

                 reply	other threads:[~2009-04-21 14:23 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=20090421142313.GA32733@sgi.com \
    --to=rja@sgi.com \
    --cc=linux-next@vger.kernel.org \
    --cc=mingo@elte.hu \
    /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;
as well as URLs for NNTP newsgroup(s).