Re: possible problem with generic asm/types.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, May 25, 2013 at 5:14 PM, Mark Salter <msalter@xxxxxxxxxx> wrote:
>     /*
>      * int-ll64 is used practically everywhere now,

This comment is obsolete, it's used everywhere now.

>      * so use it as a reasonable default.
>      */
>     #include <asm-generic/int-ll64.h>
>
> Shouldn't this be:
>
>     #include <asm/bitsperlong.h>
>     #if __BITS_PER_LONG == 64
>     #include <asm-generic/int-l64.h>
>     #else
>     #include <asm-generic/int-ll64.h>
>     #endif

No. Inside the kernel, all 64-bit platforms use int-ll64.h.

For backwards compatibility, alpha, ia64, mips, and powerpc (unless
__SANE_USERSPACE_TYPES__ is defined) still use int-l64.h in userspace.

So it seems your glibc ues the old convention. Any chance you can still
switch?

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-arch" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Newbies]     [x86 Platform Driver]     [Netdev]     [Linux Wireless]     [Netfilter]     [Bugtraq]     [Linux Filesystems]     [Yosemite Discussion]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]

  Powered by Linux