Re: [RFC] Splitting kernel headers and deprecating __KERNEL__
From: Paul Mackerras
Date: Sun Nov 28 2004 - 18:39:38 EST
Greg KH writes:
> The justification is that it doesn't properly describe the variable size
> (think userspace 32 bit variable vs. kernelspace 32 bit variable.) We
> need to stick with the proper __u32 type variables for data that crosses
> the userspace/kernelspace boundry.
uint32_t is defined to be exactly 32 bits wide, so where's the problem
in using it instead of __u32 in the headers that describe the
user/kernel interface? (Ditto for uint{8,16,64}_t, of course.)
Paul.
-
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/