Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 43079
b: refs/heads/master
c: a2952d8
h: refs/heads/master
i:
  43077: 87ad24c
  43075: 0a4f40d
  43071: bfe9453
v: v3
  • Loading branch information
Zachary Amsden authored and Andi Kleen committed Dec 7, 2006
1 parent 312a50d commit 9aaff87
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: bd472c794bbf6771c3fc1c58f188bc16c393d2fe
refs/heads/master: a2952d8949bb0b37c1be92a89c4f180c74292857
2 changes: 2 additions & 0 deletions trunk/include/asm-i386/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ typedef struct { unsigned long long pgprot; } pgprot_t;
#define pte_val(x) ((x).pte_low | ((unsigned long long)(x).pte_high << 32))
#define __pmd(x) ((pmd_t) { (x) } )
#define HPAGE_SHIFT 21
#include <asm-generic/pgtable-nopud.h>
#else
typedef struct { unsigned long pte_low; } pte_t;
typedef struct { unsigned long pgd; } pgd_t;
typedef struct { unsigned long pgprot; } pgprot_t;
#define boot_pte_t pte_t /* or would you rather have a typedef */
#define pte_val(x) ((x).pte_low)
#define HPAGE_SHIFT 22
#include <asm-generic/pgtable-nopmd.h>
#endif
#define PTE_MASK PAGE_MASK

Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-i386/pgtable-2level.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _I386_PGTABLE_2LEVEL_H
#define _I386_PGTABLE_2LEVEL_H

#include <asm-generic/pgtable-nopmd.h>

#define pte_ERROR(e) \
printk("%s:%d: bad pte %08lx.\n", __FILE__, __LINE__, (e).pte_low)
#define pgd_ERROR(e) \
Expand Down
2 changes: 0 additions & 2 deletions trunk/include/asm-i386/pgtable-3level.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
#ifndef _I386_PGTABLE_3LEVEL_H
#define _I386_PGTABLE_3LEVEL_H

#include <asm-generic/pgtable-nopud.h>

/*
* Intel Physical Address Extension (PAE) Mode - three-level page
* tables on PPro+ CPUs.
Expand Down

0 comments on commit 9aaff87

Please sign in to comment.