android_kernel_xiaomi_sm8350/include/asm-avr32
Haavard Skinnemoen e7498281d3 Use common cpu_is_xxx() macros on AT91 and AVR32
Several drivers shared between AT91 and AVR32 chips use cpu_is_xxx()
to handle CPU-specific differences. Currently, such code needs to be
inside #ifdef CONFIG_ARCH_AT91 because the macros don't exist on AVR32.

By defining the same macros on both AT91 and AVR32, these #ifdefs can
be eliminated. Since the macros will evaluate to a constant value for
CPUs that aren't supported by the current architecture, any code that
is only needed on AT91 will be optimized away on AVR32 and vice versa.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: David Brownell <david-b@pacbell.net>
Acked-by: Andrew Victor <andrew@sanpeople.com>
Cc: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2007-05-09 12:30:50 -07:00
..
arch-at32ap Use common cpu_is_xxx() macros on AT91 and AVR32 2007-05-09 12:30:50 -07:00
mach [PATCH] atmel_serial: Rename at91_register_uart_fns 2006-10-04 10:25:05 -07:00
a.out.h
addrspace.h
asm.h
atomic.h avr32: remove unneeded cast in atomic.h 2007-04-27 13:54:02 +02:00
auxvec.h
bitops.h
bug.h [AVR32] Clean up exception handling code 2007-04-27 13:44:13 +02:00
bugs.h
byteorder.h
cache.h
cachectl.h
cacheflush.h [PATCH] Optimize D-cache alias handling on fork 2006-12-13 09:27:08 -08:00
checksum.h Remove a couple final references to obsolete verify_area(). 2007-02-09 15:01:56 +01:00
cputime.h
current.h
delay.h
device.h Driver core: add dev_archdata to struct device 2006-12-01 14:52:01 -08:00
div64.h
dma-mapping.h avr32: dma-mapping.h 2007-03-07 10:50:30 +01:00
dma.h
elf.h
emergency-restart.h
errno.h
fcntl.h
futex.h
gpio.h [AVR32] GPIO API implementation 2007-02-09 15:01:58 +01:00
hardirq.h
hw_irq.h
intc.h
io.h [AVR32] Use memcpy/memset in memcpy_{from,to}_io and memset_io 2007-04-27 13:44:15 +02:00
ioctl.h
ioctls.h
ipcbuf.h
irq_regs.h [PATCH] IRQ: Fix AVR32 breakage 2006-10-11 11:14:14 -07:00
irq.h [AVR32] GPIO API implementation 2007-02-09 15:01:58 +01:00
irqflags.h
Kbuild [AVR32] Fix typo in include/asm-avr32/Kbuild 2007-03-07 10:50:27 +01:00
kdebug.h move die notifier handling to common code 2007-05-08 11:15:04 -07:00
kmap_types.h
kprobes.h
linkage.h
local.h
mman.h
mmu_context.h [PATCH] x86: PARAVIRT: add hooks to intercept mm creation and destruction 2007-05-02 19:27:14 +02:00
mmu.h
module.h
msgbuf.h
mutex.h
namei.h
numnodes.h
ocd.h
page.h
param.h
pci.h
percpu.h
pgalloc.h [PATCH] getting rid of all casts of k[cmz]alloc() calls 2006-12-13 09:05:58 -08:00
pgtable-2level.h
pgtable.h Clean up mostly unused IOSPACE macros 2007-05-08 11:15:13 -07:00
poll.h
posix_types.h [AVR32] ssize_t should be long, not int 2007-02-09 15:01:59 +01:00
processor.h [AVR32] Clean up exception handling code 2007-04-27 13:44:13 +02:00
ptrace.h
resource.h
scatterlist.h PCI: scatterlist.h needs types.h 2007-05-02 19:02:34 -07:00
sections.h
semaphore.h
sembuf.h
setup.h [AVR32] Get rid of board_setup_fbmem() 2007-04-27 13:44:15 +02:00
shmbuf.h
shmparam.h
sigcontext.h
siginfo.h
signal.h
socket.h [NET]: Adding SO_TIMESTAMPNS / SCM_TIMESTAMPNS support 2007-04-25 22:24:21 -07:00
sockios.h [NET]: Introduce SIOCGSTAMPNS ioctl to get timestamps with nanosec resolution 2007-04-25 22:24:04 -07:00
stat.h
statfs.h
string.h
sysreg.h [AVR32] Clean up asm/sysreg.h 2007-04-27 13:44:13 +02:00
system.h [AVR32] Clean up exception handling code 2007-04-27 13:44:13 +02:00
termbits.h [PATCH] tty: preparatory structures for termios revamp 2006-12-08 08:28:56 -08:00
termios.h [PATCH] consolidate line discipline number definitions 2007-02-11 10:51:26 -08:00
thread_info.h [AVR32] Put cpu in sleep 0 when idle. 2007-04-27 13:44:12 +02:00
timex.h
tlb.h
tlbflush.h
topology.h
traps.h
types.h [PATCH] Centralise definitions of sector_t and blkcnt_t 2006-12-04 19:41:15 -08:00
uaccess.h [AVR32] Fix compile error with gcc 4.1 2007-04-27 14:21:47 +02:00
ucontext.h
unaligned.h
unistd.h [AVR32] Wire up the SysV IPC calls properly 2007-02-16 12:54:44 +01:00
user.h