Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80167
b: refs/heads/master
c: 3da1bcc
h: refs/heads/master
i:
  80165: 6f3f0d5
  80163: 3493250
  80159: e3355ff
v: v3
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent 037b9e9 commit 116c4f3
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 74ef649fe847fdfbd3e1732d21b923f59ca04e8c
refs/heads/master: 3da1bcc2659de27094592e5a037d0b1d59351e03
6 changes: 6 additions & 0 deletions trunk/include/asm-x86/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
#define PAGE_MASK (~(PAGE_SIZE-1))

#define PHYSICAL_PAGE_MASK (PAGE_MASK & __PHYSICAL_MASK)
#define PTE_MASK PHYSICAL_PAGE_MASK

#define LARGE_PAGE_SIZE (_AC(1,UL) << PMD_SHIFT)
#define LARGE_PAGE_MASK (~(LARGE_PAGE_SIZE-1))
Expand All @@ -24,8 +25,13 @@
#define __PHYSICAL_MASK ((_AC(1,UL) << __PHYSICAL_MASK_SHIFT) - 1)
#define __VIRTUAL_MASK ((_AC(1,UL) << __VIRTUAL_MASK_SHIFT) - 1)

#ifndef __ASSEMBLY__
#include <linux/types.h>
#endif

#ifdef CONFIG_X86_64
#define PAGETABLE_LEVELS 4

#define THREAD_ORDER 1
#define THREAD_SIZE (PAGE_SIZE << THREAD_ORDER)
#define CURRENT_MASK (~(THREAD_SIZE-1))
Expand Down

0 comments on commit 116c4f3

Please sign in to comment.