u-boot/include/asm-sh
Shinya Kuribayashi b075d74efb Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets.
----------------------------------------------------------------
Olaf Hering [Wed, 17 Oct 2007 06:27:13 +0000 (23:27 -0700)]

Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on
32bit targets.

GCC can be made to warn about usage of long long types with ISO C90
(-ansi), but only with -pedantic.  You can write this in a way that even
then it doesn't cause warnings, namely by:

#ifdef __GNUC__
__extension__ typedef __signed__ long long __s64;
__extension__ typedef unsigned long long __u64;
#endif

The __extension__ keyword in front of this switches off any pedantic
warnings for this expression.

Signed-off-by: Olaf Hering <olh@suse.de>
Cc: <linux-arch@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
----------------------------------------------------------------

Signed-off-by: Shinya Kuribayashi <skuribay@ruby.dti.ne.jp>
2008-02-23 09:49:48 +01:00
..
bitops.h Fix coding style issues; update CHANGELOG. 2007-12-27 01:52:50 +01:00
byteorder.h Fix coding style issues; update CHANGELOG. 2007-12-27 01:52:50 +01:00
cpu_sh3.h sh: Add support SH7710/SH7712 2008-01-15 23:30:40 +09:00
cpu_sh4.h sh: Remove comment out code from include/asm-sh/cpu_sh4.h 2007-09-23 02:17:08 +09:00
cpu_sh7710.h sh: Add support SH7710/SH7712 2008-01-15 23:30:40 +09:00
cpu_sh7720.h sh: Add support SH3 and SH7720 2008-01-15 23:30:40 +09:00
cpu_sh7722.h sh: Fix register address of SH7722 2008-02-14 23:46:46 +01:00
cpu_sh7750.h Fix coding style issues; update CHANGELOG. 2007-12-27 01:52:50 +01:00
errno.h sh: Update core code of SuperH. 2007-09-23 02:12:30 +09:00
global_data.h sh: First support code of SuperH. 2007-05-13 20:58:00 +09:00
io.h sh: Add support of map_physmem() and unmap_physmem() to SuperH 2008-01-15 23:30:40 +09:00
irqflags.h sh: Update core code of SuperH. 2007-09-23 02:12:30 +09:00
posix_types.h Fix coding style issues; update CHANGELOG. 2007-12-27 01:52:50 +01:00
processor.h sh: First support code of SuperH. 2007-05-13 20:58:00 +09:00
ptrace.h sh: First support code of SuperH. 2007-05-13 20:58:00 +09:00
string.h sh: Update core code of SuperH. 2007-09-23 02:12:30 +09:00
system.h sh: First support code of SuperH. 2007-05-13 20:58:00 +09:00
types.h Remove the __STRICT_ANSI__ check from the __u64/__s64 declaration on 32bit targets. 2008-02-23 09:49:48 +01:00
u-boot.h Fix coding style issues; update CHANGELOG. 2007-12-27 01:52:50 +01:00