Re: [2.6 patch] asm-generic/int-ll64.h: always provide __{s,u}64
From: H. Peter Anvin
Date: Tue May 20 2008 - 11:01:39 EST
Adrian Bunk wrote:
$ cat test.c
#include <stdio.h>
int main()
{
#ifdef __i486__
printf("foobarbaz\n");
#endif
return 0;
}
*Groan* you're right. Blitering idiots... they only present __i386__
and whatever *exact* CPU you have -march= for, which of course is a
*CHANGING SET* (just __i486__, __i586__ and __i686__ isn't enough...
they seem to also have __core2__, __k8__ and $DEITY knows what else.)
The only sensible way to handle that would be to centralize that
knowledge in a header file.
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/