Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80169
b: refs/heads/master
c: ba2b6c5
h: refs/heads/master
i:
  80167: 116c4f3
v: v3
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent c1a3697 commit f2524c7
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 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: 7a2389b457a03f226b441b5c53f9808d4eefdcea
refs/heads/master: ba2b6c525eec459e1c6397f0f3eaeeafad153eab
13 changes: 13 additions & 0 deletions trunk/include/asm-x86/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,19 @@
#ifndef __ASSEMBLY__
void clear_page(void *page);
void copy_page(void *to, void *from);

/*
* These are used to make use of C type-checking..
*/
typedef unsigned long pteval_t;
typedef unsigned long pmdval_t;
typedef unsigned long pudval_t;
typedef unsigned long pgdval_t;
typedef unsigned long pgprotval_t;
typedef unsigned long phys_addr_t;

typedef struct { pteval_t pte; } pte_t;

#endif /* !__ASSEMBLY__ */

#endif /* CONFIG_X86_64 */
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-x86/page_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ extern unsigned long end_pfn_map;
/*
* These are used to make use of C type-checking..
*/
typedef struct { unsigned long pte; } pte_t;
typedef struct { unsigned long pmd; } pmd_t;
typedef struct { unsigned long pud; } pud_t;
typedef struct { unsigned long pgd; } pgd_t;
Expand Down

0 comments on commit f2524c7

Please sign in to comment.