Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 252364
b: refs/heads/master
c: cc780af
h: refs/heads/master
v: v3
  • Loading branch information
Russell King committed May 26, 2011
1 parent 8f3bb2b commit f9d8b4d
Show file tree
Hide file tree
Showing 2 changed files with 2 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: 1784b157c89cd2b5e6a3840abfdab6ed51f31d86
refs/heads/master: cc780af5aca00d573eae0e926e1d4cf1439b580e
7 changes: 1 addition & 6 deletions trunk/arch/arm/mm/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,9 @@ extern pmd_t *top_pmd;

#define TOP_PTE(x) pte_offset_kernel(top_pmd, x)

static inline pmd_t *pmd_off(pgd_t *pgd, unsigned long virt)
{
return pmd_offset(pud_offset(pgd, virt), virt);
}

static inline pmd_t *pmd_off_k(unsigned long virt)
{
return pmd_off(pgd_offset_k(virt), virt);
return pmd_offset(pud_offset(pgd_offset_k(virt), virt), virt);
}

struct mem_type {
Expand Down

0 comments on commit f9d8b4d

Please sign in to comment.