what am i missing here?
> --- a/arch/i386/Kconfig
> +++ b/arch/i386/Kconfig
> @@ -529,6 +529,7 @@ config X86_PAE
> bool
> depends on HIGHMEM64G
> default y
> + select RESOURCES_64BIT
>
> # Common NUMA Features
> config NUMA
this isn't a similar option for x86_64, so...
> diff --git a/include/linux/types.h b/include/linux/types.h
> index a021e15..3f23566 100644
> --- a/include/linux/types.h
> +++ b/include/linux/types.h
> @@ -178,9 +178,14 @@ #endif
> #ifdef __KERNEL__
> typedef unsigned __bitwise__ gfp_t;
>
> -typedef unsigned long resource_size_t;
> +#ifdef CONFIG_RESOURCES_64BIT
> +typedef u64 resource_size_t;
> +#else
> +typedef u32 resource_size_t;
> #endif
>
> +#endif /* __KERNEL__ */
> +
> struct ustat {
> __kernel_daddr_t f_tfree;
> __kernel_ino_t f_tinode;
means that on x86_64 resource_size_t will ot be 32-bit when previously
it was 64
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]