Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 73066
b: refs/heads/master
c: afca035
h: refs/heads/master
v: v3
  • Loading branch information
Paul Mundt committed Oct 29, 2007
1 parent f08f78a commit c801cb8
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 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: ad07b1001ec5132c93a5a85679355255d1f9444d
refs/heads/master: afca03574555c9af9a86d5a025f0187d0b77ac32
1 change: 0 additions & 1 deletion trunk/include/asm-sh/page.h
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,6 @@ typedef struct { unsigned long pgd; } pgd_t;
#define __va(x) ((void *)((unsigned long)(x)+PAGE_OFFSET))
#define pfn_to_kaddr(pfn) __va((pfn) << PAGE_SHIFT)

#define phys_to_page(phys) (pfn_to_page(phys >> PAGE_SHIFT))
#define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT)

/* PFN start number, because of __MEMORY_START */
Expand Down
2 changes: 1 addition & 1 deletion trunk/include/asm-sh/pgtable.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ static inline void set_pte(pte_t *ptep, pte_t pte)
#define pmd_bad(x) (pmd_val(x) & ~PAGE_MASK)

#define pages_to_mb(x) ((x) >> (20-PAGE_SHIFT))
#define pte_page(x) phys_to_page(pte_val(x)&PTE_PHYS_MASK)
#define pte_page(x) pfn_to_page(pte_pfn(x))

/*
* The following only work if pte_present() is true.
Expand Down

0 comments on commit c801cb8

Please sign in to comment.