linux-stable-rt/include/asm-x86_64
Linus Torvalds e3ebadd95c Revert "[PATCH] x86: __pa and __pa_symbol address space separation"
This was broken.  It adds complexity, for no good reason.  Rather than
separate __pa() and __pa_symbol(), we should deprecate __pa_symbol(),
and preferably __pa() too - and just use "virt_to_phys()" instead, which
is more readable and has nicer semantics.

However, right now, just undo the separation, and make __pa_symbol() be
the exact same as __pa().  That fixes the bugs this patch introduced,
and we can do the fairly obvious cleanups later.

Do the new __phys_addr() function (which is now the actual workhorse for
the unified __pa()/__pa_symbol()) as a real external function, that way
all the potential issues with compile/link-time optimizations of
constant symbol addresses go away, and we can also, if we choose to, add
more sanity-checking of the argument.

Cc: Eric W. Biederman <ebiederm@xmission.com>
Cc: Vivek Goyal <vgoyal@in.ibm.com>
Cc: Andi Kleen <ak@suse.de>
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-07 08:44:24 -07:00
..
8253pit.h
Kbuild
a.out.h
acpi.h
agp.h
alternative-asm.i
alternative.h
apic.h
apicdef.h
atomic.h
auxvec.h
bitops.h
boot.h
bootsetup.h
bug.h
bugs.h
byteorder.h
cache.h
cacheflush.h
calgary.h
calling.h
checksum.h
compat.h
const.h
cpu.h
cpufeature.h
cputime.h
current.h
debugreg.h
delay.h
desc.h
desc_defs.h
device.h
div64.h
dma-mapping.h
dma.h
dmi.h
dwarf2.h
e820.h
edac.h
elf.h
emergency-restart.h
errno.h
fcntl.h
fixmap.h
floppy.h
fpu32.h
futex.h
genapic.h
hardirq.h
hpet.h
hw_irq.h
hypertransport.h
i387.h
ia32.h
ia32_unistd.h
ide.h
idle.h
intel_arch_perfmon.h
io.h
io_apic.h
ioctl.h
ioctls.h
ipcbuf.h
ipi.h
irq.h
irq_regs.h
irqflags.h
k8.h
kdebug.h
kexec.h
kmap_types.h
kprobes.h
ldt.h
linkage.h
local.h
mach_apic.h
mc146818rtc.h
mce.h
mman.h
mmsegment.h
mmu.h
mmu_context.h
mmzone.h
module.h
mpspec.h
msgbuf.h
msidef.h
msr-index.h
msr.h
mtrr.h
mutex.h
namei.h
nmi.h
node.h
numa.h
page.h Revert "[PATCH] x86: __pa and __pa_symbol address space separation" 2007-05-07 08:44:24 -07:00
param.h
parport.h
pci-direct.h
pci.h
pda.h
percpu.h
pgalloc.h
pgtable.h Revert "[PATCH] x86: __pa and __pa_symbol address space separation" 2007-05-07 08:44:24 -07:00
poll.h
posix_types.h
prctl.h
processor-flags.h
processor.h
proto.h
ptrace-abi.h
ptrace.h
resource.h
rio.h
rtc.h
rwlock.h
scatterlist.h PCI: scatterlist.h needs types.h 2007-05-02 19:02:34 -07:00
seccomp.h
sections.h
segment.h
semaphore.h
sembuf.h
serial.h
setup.h
shmbuf.h
shmparam.h
sigcontext.h
sigcontext32.h
siginfo.h
signal.h
smp.h
socket.h
sockios.h
sparsemem.h
spinlock.h
spinlock_types.h
stacktrace.h
stat.h
statfs.h
string.h
suspend.h
swiotlb.h
system.h
tce.h
termbits.h
termios.h
therm_throt.h
thread_info.h
timex.h
tlb.h
tlbflush.h
topology.h
tsc.h
types.h
uaccess.h
ucontext.h
unaligned.h
unistd.h
unwind.h
user.h
user32.h
vga.h
vsyscall.h
vsyscall32.h
xor.h