46a82b2d55
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> |
||
---|---|---|
.. | ||
a.out.h | ||
agp.h | ||
apb.h | ||
asi.h | ||
atomic.h | ||
auxio.h | ||
auxvec.h | ||
bbc.h | ||
bitops.h | ||
bpp.h | ||
bsderrno.h | ||
bug.h | ||
bugs.h | ||
byteorder.h | ||
cache.h | ||
cacheflush.h | ||
chafsr.h | ||
checksum.h | ||
chmctrl.h | ||
cmt.h | ||
compat.h | ||
const.h | ||
cpudata.h | ||
cputime.h | ||
current.h | ||
dcr.h | ||
dcu.h | ||
delay.h | ||
display7seg.h | ||
div64.h | ||
dma-mapping.h | ||
dma.h | ||
ebus.h | ||
elf.h | ||
emergency-restart.h | ||
envctrl.h | ||
errno.h | ||
estate.h | ||
fbio.h | ||
fcntl.h | ||
fhc.h | ||
floppy.h | ||
fpumacro.h | ||
futex.h | ||
hardirq.h | ||
head.h | ||
hw_irq.h | ||
hypervisor.h | ||
ide.h | ||
idprom.h | ||
intr_queue.h | ||
io.h | ||
ioctl.h | ||
ioctls.h | ||
iommu.h | ||
ipc.h | ||
ipcbuf.h | ||
irq.h | ||
isa.h | ||
Kbuild | ||
kdebug.h | ||
kmap_types.h | ||
kprobes.h | ||
linkage.h | ||
local.h | ||
lsu.h | ||
mc146818rtc.h | ||
mman.h | ||
mmu.h | ||
mmu_context.h | ||
module.h | ||
mostek.h | ||
msgbuf.h | ||
mutex.h | ||
namei.h | ||
ns87303.h | ||
numnodes.h | ||
of_device.h | ||
openprom.h | ||
openpromio.h | ||
oplib.h | ||
page.h | ||
param.h | ||
parport.h | ||
pbm.h | ||
pci.h | ||
pconf.h | ||
percpu.h | ||
perfctr.h | ||
pgalloc.h | ||
pgtable.h | ||
pil.h | ||
poll.h | ||
posix_types.h | ||
processor.h | ||
prom.h | ||
psrcompat.h | ||
pstate.h | ||
ptrace.h | ||
reg.h | ||
resource.h | ||
rtc.h | ||
rwsem-const.h | ||
rwsem.h | ||
sbus.h | ||
scatterlist.h | ||
scratchpad.h | ||
seccomp.h | ||
sections.h | ||
semaphore.h | ||
sembuf.h | ||
setup.h | ||
sfafsr.h | ||
sfp-machine.h | ||
shmbuf.h | ||
shmparam.h | ||
sigcontext.h | ||
siginfo.h | ||
signal.h | ||
smp.h | ||
socket.h | ||
sockios.h | ||
solerrno.h | ||
sparsemem.h | ||
spinlock.h | ||
spinlock_types.h | ||
spitfire.h | ||
starfire.h | ||
stat.h | ||
statfs.h | ||
string.h | ||
sunbpp.h | ||
svr4.h | ||
system.h | ||
termbits.h | ||
termios.h | ||
thread_info.h | ||
timer.h | ||
timex.h | ||
tlb.h | ||
tlbflush.h | ||
topology.h | ||
tsb.h | ||
ttable.h | ||
types.h | ||
uaccess.h | ||
uctx.h | ||
unaligned.h | ||
unistd.h | ||
upa.h | ||
user.h | ||
utrap.h | ||
vga.h | ||
visasm.h | ||
watchdog.h | ||
xor.h |