linux/include/asm-sparc64
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
..
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 [SPARC64]: Fix sparc64 build errors when CONFIG_PCI=n. 2006-07-05 20:18:39 -07:00
dma.h
ebus.h [SPARC64]: Add of_device layer and make ebus/isa use it. 2006-06-23 23:15:43 -07:00
elf.h
emergency-restart.h
envctrl.h
errno.h
estate.h
fbio.h
fcntl.h
fhc.h [SPARC64]: Convert central bus layer to in-kernel PROM device tree. 2006-06-23 23:15:32 -07:00
floppy.h [PATCH] irq-flags: SPARC64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
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 [SPARC64]: Add of_device layer and make ebus/isa use it. 2006-06-23 23:15:43 -07:00
Kbuild Fix exported headers for SPARC, SPARC64 2006-09-21 08:48:27 +01:00
kdebug.h [PATCH] Notify page fault call chain for sparc64 2006-06-26 09:58:22 -07:00
kmap_types.h
kprobes.h [PATCH] IA64: kprobe invalidate icache of jump buffer 2006-07-31 13:28:38 -07:00
linkage.h
local.h
lsu.h
mc146818rtc.h
mman.h [PATCH] IA64,sparc: local DoS with corrupted ELFs 2006-09-08 08:40:46 -07:00
mmu.h
mmu_context.h
module.h
mostek.h
msgbuf.h
mutex.h
namei.h
ns87303.h
numnodes.h
of_device.h [SPARC64]: of_device layer IRQ resolution 2006-06-29 16:37:38 -07:00
openprom.h [SPARC64]: Fix more of_device layer IRQ bugs, and correct PROMREG_MAX. 2006-07-21 14:17:52 -07:00
openpromio.h
oplib.h [SPARC]: Kill prom_getname, unused and not implemented properly. 2006-07-21 14:17:55 -07:00
page.h Fix exported headers for SPARC, SPARC64 2006-09-21 08:48:27 +01:00
param.h
parport.h [SPARC64]: Use in-kernel PROM tree for EBUS and ISA. 2006-06-23 23:15:28 -07:00
pbm.h [SPARC64]: of_device layer IRQ resolution 2006-06-29 16:37:38 -07:00
pci.h
pconf.h
percpu.h [PATCH] lockdep: add per_cpu_offset() 2006-07-03 15:27:00 -07:00
perfctr.h
pgalloc.h
pgtable.h [PATCH] Standardize pxx_page macros 2006-09-26 08:48:51 -07:00
pil.h
poll.h
posix_types.h
processor.h
prom.h [SPARC64]: of_device layer IRQ resolution 2006-06-29 16:37:38 -07:00
psrcompat.h
pstate.h
ptrace.h
reg.h
resource.h
rtc.h
rwsem-const.h
rwsem.h
sbus.h [SPARC64]: Kill starfire_cookie from SBUS/PCI. 2006-06-29 16:37:08 -07:00
scatterlist.h
scratchpad.h
seccomp.h
sections.h
semaphore.h
sembuf.h
setup.h
sfafsr.h
sfp-machine.h [SPARC64]: Fix quad-float multiply emulation. 2006-07-27 16:49:21 -07:00
shmbuf.h
shmparam.h Fix exported headers for SPARC, SPARC64 2006-09-21 08:48:27 +01:00
sigcontext.h
siginfo.h
signal.h [PATCH] irq-flags: SPARC64: Use the new IRQF_ constants 2006-07-02 13:58:48 -07:00
smp.h
socket.h [AF_UNIX]: Datagram getpeersec 2006-06-29 16:58:06 -07:00
sockios.h
solerrno.h
sparsemem.h
spinlock.h
spinlock_types.h
spitfire.h
starfire.h [SPARC64]: Kill starfire_cookie from SBUS/PCI. 2006-06-29 16:37:08 -07:00
stat.h
statfs.h
string.h
sunbpp.h
svr4.h
system.h [PATCH] remove set_wmb - arch removal 2006-07-14 21:56:14 -07:00
termbits.h
termios.h
thread_info.h
timer.h
timex.h
tlb.h
tlbflush.h
topology.h [PATCH] sched: mc/smt power savings sched policy 2006-06-27 17:32:45 -07:00
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