1
0
Fork 0
alistair23-linux/arch/um/kernel
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
..
skas [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
tt [PATCH] uml: remove syscall debugging 2006-07-10 13:24:24 -07:00
Makefile [PATCH] uml: move _kern.c files 2006-07-10 13:24:24 -07:00
asm-offsets.c [PATCH] uml: fix missing KBUILD_BASENAME 2006-01-11 18:42:09 -08:00
config.c.in Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
dyn.lds.S [PATCH] vDSO hash-style fix 2006-07-31 13:28:43 -07:00
exec.c [PATCH] uml: move _kern.c files 2006-07-10 13:24:24 -07:00
exitcode.c [PATCH] uml: Clean up prink calls 2005-07-28 21:46:05 -07:00
gmon_syms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gprof_syms.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
init_task.c [PATCH] uml: move libc code out of mem_user.c and tempfile.c 2005-09-17 11:50:00 -07:00
initrd.c [PATCH] uml: initrd cleanup 2005-05-20 15:48:18 -07:00
irq.c [PATCH] uml: remove os_isatty 2006-07-10 13:24:24 -07:00
ksyms.c [PATCH] uml: remove some useless exports 2006-07-10 13:24:23 -07:00
mem.c [PATCH] reduce MAX_NR_ZONES: make ZONE_HIGHMEM optional 2006-09-26 08:48:46 -07:00
physmem.c [PATCH] uml: fix static binary segfault 2006-07-10 13:24:23 -07:00
process_kern.c [PATCH] uml: implement {get,set}_thread_area for i386 2006-03-31 12:18:52 -08:00
ptrace.c [PATCH] drop task argument of audit_syscall_{entry,exit} 2006-05-01 06:06:18 -04:00
reboot.c [PATCH] uml: avoid "CONFIG_NR_CPUS undeclared" bogus error messages 2006-02-01 08:53:23 -08:00
resource.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sigio.c [PATCH] uml: move _kern.c files 2006-07-10 13:24:24 -07:00
signal.c [PATCH] uml: move _kern.c files 2006-07-10 13:24:24 -07:00
smp.c [PATCH] pidhash: don't count idle threads 2006-03-28 18:36:41 -08:00
syscall.c [PATCH] UML - fix utsname build breakage 2006-07-15 14:42:24 -07:00
sysrq.c [PATCH] uml: Fix sysrq-r support for skas mode 2005-10-04 13:22:01 -07:00
time.c [PATCH] uml: move _kern.c files 2006-07-10 13:24:24 -07:00
tlb.c [PATCH] uml: fix condition in tlb flush 2005-09-22 22:17:36 -07:00
trap.c [PATCH] uml: move _kern.c files 2006-07-10 13:24:24 -07:00
uaccess.c [PATCH] uml: separate libc-dependent uaccess code 2005-11-07 07:53:31 -08:00
um_arch.c [PATCH] uml: fix static binary segfault 2006-07-10 13:24:23 -07:00
umid.c [PATCH] uml: umid cleanup 2006-01-06 08:33:47 -08:00
uml.lds.S [PATCH] uml: fix static binary segfault 2006-07-10 13:24:23 -07:00
vmlinux.lds.S [PATCH] uml: tidy biarch gcc support 2006-07-14 21:53:52 -07:00