Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43032
b: refs/heads/master
c: 9f45acc
h: refs/heads/master
v: v3
  • Loading branch information
Eric W. Biederman authored and Andi Kleen committed Dec 7, 2006
1 parent 7f3db00 commit 11877cc
Show file tree
Hide file tree
Showing 2 changed files with 4 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: 6ed018845f1172cdc94f8a20ad807df901c6b7eb
refs/heads/master: 9f45accf17efc050ba26bf77cc4f166c950b284e
3 changes: 3 additions & 0 deletions trunk/include/asm-i386/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,9 @@ extern int page_is_ram(unsigned long pagenr);
#define VMALLOC_RESERVE ((unsigned long)__VMALLOC_RESERVE)
#define MAXMEM (-__PAGE_OFFSET-__VMALLOC_RESERVE)
#define __pa(x) ((unsigned long)(x)-PAGE_OFFSET)
/* __pa_symbol should be used for C visible symbols.
This seems to be the official gcc blessed way to do such arithmetic. */
#define __pa_symbol(x) __pa(RELOC_HIDE((unsigned long)(x),0))
#define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET))
#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)
#ifdef CONFIG_FLATMEM
Expand Down

0 comments on commit 11877cc

Please sign in to comment.