android_kernel_xiaomi_sm8350/arch/m68k/include/asm
Greg Ungerer 682137f7e6 m68knommu: fix definitions of __pa() and __va()
Fix compilation breakage of all m68knommu targets:

  CC      arch/m68knommu/kernel/asm-offsets.s
In file included from include/linux/sched.h:77,
                 from arch/m68knommu/kernel/asm-offsets.c:12:
include/linux/percpu.h: In function 'per_cpu_ptr_to_phys':
include/linux/percpu.h:161: error: implicit declaration of function 'virt_to_phy

This is broken in linux-2.6.33-rc3.

Change the definitions of __pa() and __va() to not use virt_to_phys()
and phys_to_virt(). Trivial 1:1 conversion required for the non-MMU case.

A side effect if this is that the m68knommu can now use asm/virtconvert.h
for the definition of virt_to_phys() and phys_to_virt().

Also cleaned up the definition of page_to_phys() when moving into
virtconvert.h.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-01-12 20:51:45 -08:00
..
a.out-core.h
a.out.h
adb_iop.h
amigahw.h
amigaints.h
amigayle.h
amipcmcia.h
anchor.h
apollodma.h
apollohw.h
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
atafd.h
atafdreg.h
atari_joystick.h
atari_stdma.h
atari_stram.h
atarihw.h
atariints.h
atarikb.h
atomic_mm.h asm-generic: rename atomic.h to atomic-long.h 2009-06-11 21:02:17 +02:00
atomic_no.h asm-generic: rename atomic.h to atomic-long.h 2009-06-11 21:02:17 +02:00
atomic.h
auxvec.h
bitops_mm.h
bitops_no.h
bitops.h
bitsperlong.h asm-generic: introduce asm/bitsperlong.h 2009-06-11 21:02:14 +02:00
blinken.h
bootinfo.h tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
bootstd.h
bug.h
bugs.h
bvme6000hw.h
byteorder.h
cache.h
cachectl.h
cacheflush_mm.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
cacheflush_no.h block: add helpers to run flush_dcache_page() against a bio and a request's pages 2009-11-26 09:16:19 +01:00
cacheflush.h
checksum.h m68k: merge the mmu and non-mmu versions of checksum.h 2009-09-16 09:43:37 +10:00
coldfire.h
commproc.h
contregs.h
cputime.h
current.h
dbg.h
delay_mm.h
delay_no.h
delay.h
device.h
div64.h
dma-mapping.h
dma.h m68k: clean up comment delimiters in dma.h 2009-09-16 09:43:38 +10:00
dsp56k.h
dvma.h
elf.h elf: kill USE_ELF_CORE_DUMP 2009-12-16 07:20:12 -08:00
emergency-restart.h
entry_mm.h locking, m68k/asm-offsets: Rename signal defines 2009-09-01 09:38:03 +02:00
entry_no.h locking, m68k/asm-offsets: Rename pt_regs offset defines 2009-08-31 18:08:49 +02:00
entry.h
errno.h
fb.h
fbio.h
fcntl.h
flat.h flat: fix data sections alignment 2009-05-29 08:40:02 -07:00
floppy.h
fpu.h
ftrace.h
futex.h
gpio.h core generic GPIO support for Freescale Coldfire processors. 2009-09-10 12:01:22 +10:00
hardirq_mm.h revert "m68k: convert to asm-generic/hardirq.h" 2009-10-01 16:11:11 -07:00
hardirq_no.h m68knommu: convert to asm-generic/hardirq.h 2009-09-16 09:43:36 +10:00
hardirq.h
hp300hw.h
hw_irq.h
hwtest.h
ide.h
idprom.h
intersil.h
io_mm.h
io_no.h m68knommu: fix definitions of __pa() and __va() 2010-01-12 20:51:45 -08:00
io.h
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h
irq.h m68k: merge mmu and non-mmu versions of irq.h 2009-09-16 09:43:37 +10:00
Kbuild
kdebug.h
kmap_types.h kmap_types: make most arches use generic header file 2009-06-16 19:47:51 -07:00
linkage.h
local.h
m520xsim.h m68knommu: remove interrupt masking from ColdFire pit timer 2009-09-16 09:43:47 +10:00
m523xsim.h generic GPIO support for the Freescale Coldfire 523x. 2009-09-10 12:01:22 +10:00
m527xsim.h generic GPIO support for the Freescale Coldfire 527x. 2009-09-10 12:01:23 +10:00
m528xsim.h generic GPIO support for the Freescale Coldfire 528x. 2009-09-10 12:01:23 +10:00
m532xsim.h m68knommu: clean up ColdFire 532x CPU timer setup 2009-09-16 09:43:52 +10:00
m5206sim.h m68knommu: simplify ColdFire "timers" clock initialization 2009-09-16 09:43:51 +10:00
m5249sim.h m68knommu: add support for second interrupt controller of ColdFire 5249 2009-09-16 09:43:53 +10:00
m5272sim.h m68knommu: create a speciailized ColdFire 5272 interrupt controller 2009-09-16 09:43:54 +10:00
m5307sim.h m68knommu: simplify ColdFire "timers" clock initialization 2009-09-16 09:43:51 +10:00
m5407sim.h m68knommu: simplify ColdFire "timers" clock initialization 2009-09-16 09:43:51 +10:00
m68360_enet.h
m68360_pram.h
m68360_quicc.h
m68360_regs.h
m68360.h
mac_asc.h
mac_baboon.h
mac_iop.h
mac_mouse.h
mac_oss.h
mac_psc.h
mac_via.h
machdep_mm.h
machdep_no.h
machdep.h
machines.h
machw.h
macintosh.h
macints.h
math-emu.h locking, m68k/asm-offsets: Rename pt_regs offset defines 2009-08-31 18:08:49 +02:00
mc146818rtc.h
MC68EZ328.h
MC68VZ328.h
MC68328.h
MC68332.h
mcfcache.h
mcfdma.h
mcfgpio.h core generic GPIO support for Freescale Coldfire processors. 2009-09-10 12:01:22 +10:00
mcfintc.h m68knommu: map ColdFire interrupts to correct masking bits 2009-09-16 09:43:52 +10:00
mcfmbus.h
mcfne.h m68knommu: remove special interrupt handling code for ne2k support 2009-09-16 09:43:55 +10:00
mcfpit.h
mcfsim.h m68knommu: move ColdFire INTC definitions to new include file 2009-09-16 09:43:49 +10:00
mcfsmc.h generic GPIO support misc files. 2009-09-10 12:01:24 +10:00
mcftimer.h
mcfuart.h
mcfwdebug.h
md.h
mman.h mm: remove duplicate asm/mman.h files 2009-09-22 07:17:42 -07:00
mmu_context.h
mmu.h
mmzone.h
module.h
motorola_pgalloc.h arch/m68k/include/asm/motorola_pgalloc.h: fix kunmap arg 2009-08-26 23:14:49 +02:00
motorola_pgtable.h
movs.h
msgbuf.h
mutex.h
mvme16xhw.h
mvme147hw.h
nettel.h generic GPIO support misc files. 2009-09-10 12:01:24 +10:00
nubus.h
openprom.h
oplib.h
page_mm.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
page_no.h m68knommu: fix definitions of __pa() and __va() 2010-01-12 20:51:45 -08:00
page_offset.h
page.h
param.h
parport.h
pci.h
percpu.h
pgalloc.h
pgtable_mm.h m68k: rename global variable vmalloc_end to m68k_vmalloc_end 2009-12-09 17:43:19 +09:00
pgtable_no.h
pgtable.h
pinmux.h core generic GPIO support for Freescale Coldfire processors. 2009-09-10 12:01:22 +10:00
poll.h
posix_types.h
processor.h m68knommu: add a task_pt_regs() macro 2009-12-04 11:45:30 +10:00
ptrace.h Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/gerg/m68knommu 2009-12-09 19:09:42 -08:00
q40_master.h
q40ints.h
quicc_simple.h
raw_io.h
resource.h
rtc.h
sbus.h
scatterlist.h
sections.h
segment.h
sembuf.h
serial.h
setup.h
shm.h
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h asm-generic: rename termios.h, signal.h and mman.h 2009-06-11 21:01:52 +02:00
smp.h
socket.h net: Generalize socket rx gap / receive queue overflow cmsg 2009-10-12 13:26:31 -07:00
sockios.h
spinlock.h
stat.h
statfs.h
string_mm.h
string_no.h
string.h
sun3_pgalloc.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
sun3_pgtable.h
sun3-head.h
sun3ints.h
sun3mmu.h
sun3x.h
sun3xflop.h
sun3xprom.h
swab.h headers_check fix: m68k, swab.h 2009-06-11 13:09:11 +10:00
system_mm.h
system_no.h m68knommu: remove obsolete reset code 2009-06-11 13:09:11 +10:00
system.h
termbits.h
termios.h
thread_info_mm.h m68k: Make thread_info.h usable from assembly. 2009-12-06 11:18:24 +01:00
thread_info_no.h m68knommu: Make THREAD_SIZE available to assembly files. 2009-12-04 11:45:31 +10:00
thread_info.h
timex.h m68knommu: fix ColdFire definition of CLOCK_TICK_RATE 2009-09-16 09:43:56 +10:00
tlb.h
tlbflush.h
topology.h
traps_mm.h
traps_no.h
traps.h
types.h
uaccess_mm.h
uaccess_no.h
uaccess.h
ucontext.h
unaligned.h
unistd.h perf: Do the big rename: Performance Counters -> Performance Events 2009-09-21 14:28:04 +02:00
user.h
virtconvert.h m68knommu: fix definitions of __pa() and __va() 2010-01-12 20:51:45 -08:00
xor.h
zorro.h