linux-sg2042/arch/x86_64
Dave McCracken 46a82b2d55 [PATCH] Standardize pxx_page macros
One of the changes necessary for shared page tables is to standardize the
pxx_page macros.  pte_page and pmd_page have always returned the struct
page associated with their entry, while pte_page_kernel and pmd_page_kernel
have returned the kernel virtual address.  pud_page and pgd_page, on the
other hand, return the kernel virtual address.

Shared page tables needs pud_page and pgd_page to return the actual page
structures.  There are very few actual users of these functions, so it is
simple to standardize their usage.

Since this is basic cleanup, I am submitting these changes as a standalone
patch.  Per Hugh Dickins' comments about it, I am also changing the
pxx_page_kernel macros to pxx_page_vaddr to clarify their meaning.

Signed-off-by: Dave McCracken <dmccr@us.ibm.com>
Cc: Hugh Dickins <hugh@veritas.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-09-26 08:48:51 -07:00
..
boot kbuild: introduce utsrelease.h 2006-07-03 23:30:54 +02:00
crypto [CRYPTO] api: Get rid of flags argument to setkey 2006-09-21 11:41:02 +10:00
ia32 [PATCH] audit: AUDIT_PERM support 2006-09-11 13:32:30 -04:00
kernel Revert mmiocfg heuristics and blacklist changes 2006-09-19 08:15:22 -07:00
lib [PATCH] lockdep: irqtrace cleanup of include/asm-x86_64/irqflags.h 2006-07-03 15:27:03 -07:00
mm [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
oprofile [PATCH] Move Kprobes and Oprofile to "Instrumentation Support" menu 2005-11-07 07:53:35 -08:00
pci Revert mmiocfg heuristics and blacklist changes 2006-09-19 08:15:22 -07:00
Kconfig [PATCH] reduce MAX_NR_ZONES: make ZONE_DMA32 optional 2006-09-26 08:48:46 -07:00
Kconfig.debug [PATCH] lockdep: irqtrace subsystem, x86_64 support 2006-07-03 15:27:03 -07:00
Makefile [PATCH] x86_64: Do not use -ffunction-sections for modules 2006-06-26 10:48:21 -07:00
defconfig [PATCH] x86_64: Update defconfig 2006-08-30 16:05:15 -07:00