[POWERPC] Cleanup pgtable-ppc32.h
authorKumar Gala <galak@kernel.crashing.org>
Tue, 15 Apr 2008 19:52:30 +0000 (05:52 +1000)
committerPaul Mackerras <paulus@samba.org>
Wed, 16 Apr 2008 21:46:14 +0000 (07:46 +1000)
commitaf892e0f9fad390669494e389aed29b968ab7fdb
tree7230c0fccb54ad00aaa7dbc7b04e38f239a6496c
parentb18796d32a35ca4d996c584c3bb6d0a4f8a7d310
[POWERPC] Cleanup pgtable-ppc32.h

* Removed defines KERNEL_PGD_PTRS & USER_PGD_PTRS since they aren't
  used anywhere
* Changed pmd_page macro to use pfn_to_page so we get proper behavior
  if ARCH_PFN_OFFSET is set as well if we use a different memory model
  on ppc32.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
include/asm-powerpc/pgtable-ppc32.h