From: Olaf Hering Date: Wed, 17 Oct 2007 06:27:13 +0000 (-0700) Subject: remove strict ansi check from __u64 in asm/types.h X-Git-Tag: v2.6.24-rc1~687 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68a9bd0cd5824073e3232b102011ec568a517646;p=pandora-kernel.git remove strict ansi check from __u64 in asm/types.h 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 Cc: Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed