[PATCH] 2.6.31 kernel broke 0.9.30.1 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:

#ifndef __ASM_SH_POSIX_TYPES_H
#define __ASM_SH_POSIX_TYPES_H

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

At some point, a 0.9.30.2 might be nice...

Rob
-- 
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