[PATCH] 2.6.31 kernel broke build for sh4.

Rob Landley rob at landley.net
Fri Sep 18 02:19:08 UTC 2009

The bits/kernel_types.h file breaks every other kernel release, it's a horrible 
hack that _really_ needs to be dealt with properly someday.

This time, the 32 bit and 64 bit SH architectures were merged, so now the 
guards look like:

#ifndef __ASM_SH_POSIX_TYPES_32_H
#define __ASM_SH_POSIX_TYPES_32_H

And the header is instead checking:


And thus the build breaks.  Attached is a quick stab at fixing it.

At some point, a might be nice...

Latency is more important than throughput. It's that simple. - Linus Torvalds
-------------- next part --------------
A non-text attachment was scrubbed...
Name: uClibc-fixsh4.patch
Type: text/x-patch
Size: 1295 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/uclibc/attachments/20090917/1c77c965/attachment.bin>

More information about the uClibc mailing list