[PATCH] libc/sysdeps: add __kernel_long and __kernel_ulong

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Oct 2 08:31:59 UTC 2012


On Mon, Oct 01, 2012 at 06:12:54PM +1300, Chris Packham wrote:
>Linux 3.4 added __kernel_long_t and __kernel_ulong_t and various
>exported header files were updated to use these new types. Add the
>definitions for __kernel_long_t and __kernel_ulong_t to the relevant
>kernel_types.h headers.
>
>This change was automated with the following scriptlet
>
>  git grep --name-only 'typedef.*__kernel_old_dev_t' \
>    | xargs sed -i '/typedef.*__kernel_old_dev_t/ a\
>  typedef long\t\t__kernel_long_t;\
>  typedef unsigned long\t__kernel_ulong_t;'
>
>Whitespace in arm, avr32, hppa, sparc was then manually fixed up.
>---
>Here's a cleaned up patch which should get the whitespace right. I'm a
>bit iffy about the sparc changes they make sense to me but it's not a
>platform I have access to.
>
>I can break this up per arch or per maintainer if requested.

applied, thanks!


More information about the uClibc mailing list