Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 151465
b: refs/heads/master
c: eb63657
h: refs/heads/master
i:
  151463: 50f9bd8
v: v3
  • Loading branch information
Jeremy Fitzhardinge authored and Vegard Nossum committed Jun 15, 2009
1 parent 6037495 commit 6f1cd93
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 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: 9d31c5068b852deaf02ccfb4a1ed2b54f3b9358a
refs/heads/master: eb63657e1314ae4af5e19a61db8dc1b6e935775a
8 changes: 2 additions & 6 deletions trunk/arch/x86/include/asm/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -317,13 +317,9 @@ static inline int pte_present(pte_t a)
return pte_flags(a) & (_PAGE_PRESENT | _PAGE_PROTNONE);
}

static inline int pte_hidden(pte_t x)
static inline int pte_hidden(pte_t pte)
{
#ifdef CONFIG_KMEMCHECK
return pte_flags(x) & _PAGE_HIDDEN;
#else
return 0;
#endif
return pte_flags(pte) & _PAGE_HIDDEN;
}

static inline int pmd_present(pmd_t pmd)
Expand Down

0 comments on commit 6f1cd93

Please sign in to comment.