Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176715
b: refs/heads/master
c: fae419f
h: refs/heads/master
i:
  176713: ad0393a
  176711: 1272055
v: v3
  • Loading branch information
Robin Holt authored and Linus Torvalds committed Dec 16, 2009
1 parent 08cfc95 commit bae9230
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 682128939f546e3a9cdd9fef392b932dd9c41a65
refs/heads/master: fae419f2abd15ab7d1cd1413e6683a276a4e14e2
7 changes: 7 additions & 0 deletions trunk/arch/x86/include/asm/uv/uv_hub.h
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,13 @@ static inline unsigned long uv_gpa(void *v)
return uv_soc_phys_ram_to_gpa(__pa(v));
}

/* Top two bits indicate the requested address is in MMR space. */
static inline int
uv_gpa_in_mmr_space(unsigned long gpa)
{
return (gpa >> 62) == 0x3UL;
}

/* UV global physical address --> socket phys RAM */
static inline unsigned long uv_gpa_to_soc_phys_ram(unsigned long gpa)
{
Expand Down

0 comments on commit bae9230

Please sign in to comment.