linux-stable-rt/include/asm-powerpc
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
..
iseries [POWERPC] Merge iSeries i/o operations with the rest 2006-09-22 15:19:58 +10:00
8253pit.h
Kbuild [HEADERS] One line per header in Kbuild files to reduce conflicts 2006-09-19 12:43:58 +01:00
a.out.h
abs_addr.h
agp.h
asm-compat.h
atomic.h power: improve inline asm memory constraints 2006-07-08 15:00:28 -07:00
auxvec.h
backlight.h [PATCH] powermac: More powermac backlight fixes 2006-07-31 13:28:45 -07:00
bitops.h power: improve inline asm memory constraints 2006-07-08 15:00:28 -07:00
bootx.h
btext.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
checksum.h
compat.h
cputable.h [POWERPC] powerpc: PA6T cputable entry, PVR value 2006-09-13 18:39:52 +10:00
cputime.h [PATCH] powerpc: implement missing jiffies64_to_cputime64() 2006-07-05 09:39:54 -07:00
current.h
dbdma.h
delay.h
div64.h
dma-mapping.h
dma.h
eeh.h [POWERPC] Fix MMIO ops to provide expected barrier behaviour 2006-09-13 22:08:26 +10:00
eeh_event.h
elf.h
emergency-restart.h
errno.h
fcntl.h
firmware.h
floppy.h
futex.h [POWERPC] Implement PowerPC futex_atomic_cmpxchg_inatomic(). 2006-09-13 18:28:41 +10:00
grackle.h
hardirq.h
heathrow.h
hvcall.h [POWERPC] powerpc: Instrument Hypervisor Calls 2006-09-13 18:39:53 +10:00
hvconsole.h
hvcserver.h
hw_irq.h
i8259.h
ibmebus.h [POWERPC] Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
ide.h [POWERPC] clean up ide io accessors 2006-09-20 14:06:18 +10:00
immap_86xx.h
io.h [POWERPC] Merge iSeries i/o operations with the rest 2006-09-22 15:19:58 +10:00
ioctl.h
ioctls.h
iommu.h
ipc.h
ipcbuf.h
ipic.h [POWERPC] back up old school ipic.[hc] to arch/ppc 2006-08-30 10:34:33 +10:00
irq.h [POWERPC] Make doc comments extractable 2006-08-08 17:07:04 +10:00
irqflags.h [PATCH] lockdep: irqtrace subsystem, core 2006-07-03 15:27:03 -07:00
kdebug.h
kdump.h [POWERPC] kdump: Support kernels having 64k page size. 2006-09-13 18:30:04 +10:00
kexec.h [POWERPC] Make crash.c work on 32-bit and 64-bit 2006-08-17 16:41:10 +10:00
keylargo.h
kmap_types.h
kprobes.h [PATCH] IA64: kprobe invalidate icache of jump buffer 2006-07-31 13:28:38 -07:00
linkage.h
lmb.h
local.h
lppaca.h [POWERPC] Update lppaca offset comments 2006-08-08 17:08:58 +10:00
machdep.h
macio.h
mc146818rtc.h
mediabay.h
mman.h
mmu.h
mmu_context.h
mmzone.h
module.h
mpc86xx.h [POWERPC] Use mpc8641hpcn PIC base address from dev tree. 2006-08-25 14:32:13 +10:00
mpic.h [POWERPC] Support for "weird" MPICs and fixup mpc7448_hpc2 2006-08-30 14:29:42 +10:00
msgbuf.h
mutex.h
namei.h
nvram.h
of_device.h
ohare.h
oprofile_impl.h
pSeries_reconfig.h
paca.h Merge branch 'linux-2.6' 2006-09-14 07:07:18 +10:00
page.h [POWERPC] Remove DISCONTIGMEM cruft from page.h 2006-09-22 15:19:58 +10:00
page_32.h
page_64.h
param.h
parport.h
pci-bridge.h
pci.h
percpu.h
pgalloc.h [POWERPC] hugepage BUG fix 2006-08-24 10:07:23 +10:00
pgtable-4k.h [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
pgtable-64k.h
pgtable.h [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
pmac_feature.h
pmac_low_i2c.h
pmac_pfunc.h
pmc.h
poll.h
posix_types.h
ppc-pci.h [POWERPC] EEH: enable MMIO/DMA on frozen slot 2006-09-21 22:59:14 +10:00
ppc_asm.h
processor.h [POWERPC] Add briq support to CHRP 2006-07-07 20:19:15 +10:00
prom.h [POWERPC] Define of_read_ulong helper 2006-09-20 15:09:48 +10:00
ptrace.h [POWERPC] powerpc: fix building gdb against asm/ptrace.h 2006-09-22 15:19:58 +10:00
reg.h [POWERPC] powerpc: PA6T cputable entry, PVR value 2006-09-13 18:39:52 +10:00
reg_8xx.h
resource.h
rtas.h [POWERPC] Add a helper for calculating RTAS "config_addr" parameters 2006-08-25 13:27:35 +10:00
rtc.h
rwsem.h [PATCH] lockdep: remove RWSEM_DEBUG remnants 2006-07-03 15:27:01 -07:00
scatterlist.h
seccomp.h
sections.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
smp.h
smu.h [POWERPC] powermac: Constify & voidify get_property() 2006-07-31 15:55:05 +10:00
socket.h
sockios.h
sparsemem.h
spinlock.h [POWERPC] Fix MMIO ops to provide expected barrier behaviour 2006-09-13 22:08:26 +10:00
spinlock_types.h
spu.h [POWERPC] cell: Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
spu_csa.h
spu_priv1.h
sstep.h
stat.h
statfs.h
string.h
synch.h
syscalls.h
systbl.h
system.h Merge branch 'merge' 2006-08-25 14:56:07 +10:00
tce.h
termbits.h
termios.h
thread_info.h
time.h [POWERPC] Fix problem with time not advancing on 32-bit platforms 2006-08-30 16:09:43 +10:00
timex.h
tlb.h
tlbflush.h
todc.h
topology.h
tsi108.h [POWERPC] Update mpc7448hpc2 board irq support using device tree 2006-08-23 15:51:18 +10:00
tsi108_irq.h [POWERPC] Update mpc7448hpc2 board irq support using device tree 2006-08-23 15:51:18 +10:00
types.h
uaccess.h
ucontext.h
udbg.h
unaligned.h
uninorth.h
unistd.h
user.h
vdso.h
vdso_datapage.h
vga.h
vio.h [POWERPC] Constify & voidify get_property() 2006-07-31 15:55:04 +10:00
xmon.h
xor.h