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
..
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-04-27 13:44:13 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-03-07 10:50:30 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-02-09 15:01:58 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-10-11 11:14:14 -07:00
2007-02-09 15:01:58 +01:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-05-02 19:02:34 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-04-27 13:44:15 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2007-04-27 13:44:13 +02:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00
2006-09-26 08:48:54 -07:00