Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 55027
b: refs/heads/master
c: 0aeafb0
h: refs/heads/master
i:
  55025: f8d1f30
  55023: 505a66a
v: v3
  • Loading branch information
David Gibson authored and Paul Mackerras committed May 7, 2007
1 parent 01cd025 commit 58e5283
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: 2abb7019e2877e7f9b1d2432f5a5c36caca5ed1c
refs/heads/master: 0aeafb0cef401807fe7d2a50f298203659b668af
2 changes: 0 additions & 2 deletions trunk/include/asm-powerpc/page_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,9 @@
#ifdef CONFIG_PTE_64BIT
typedef unsigned long long pte_basic_t;
#define PTE_SHIFT (PAGE_SHIFT - 3) /* 512 ptes per page */
#define PTE_FMT "%16Lx"
#else
typedef unsigned long pte_basic_t;
#define PTE_SHIFT (PAGE_SHIFT - 2) /* 1024 ptes per page */
#define PTE_FMT "%.8lx"
#endif

struct page;
Expand Down
3 changes: 2 additions & 1 deletion trunk/include/asm-powerpc/pgtable-ppc32.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ extern unsigned long ioremap_bot, ioremap_base;
#define KERNEL_PGD_PTRS (PTRS_PER_PGD-USER_PGD_PTRS)

#define pte_ERROR(e) \
printk("%s:%d: bad pte "PTE_FMT".\n", __FILE__, __LINE__, pte_val(e))
printk("%s:%d: bad pte %llx.\n", __FILE__, __LINE__, \
(unsigned long long)pte_val(e))
#define pmd_ERROR(e) \
printk("%s:%d: bad pmd %08lx.\n", __FILE__, __LINE__, pmd_val(e))
#define pgd_ERROR(e) \
Expand Down

0 comments on commit 58e5283

Please sign in to comment.