[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#263348: linux-kernel-headers: asm/unaligned.h on powerpc is useless if __KERNEL__ is undefined

On Mon, Aug 09, 2004 at 02:21:57PM +0900, GOTO Masanori wrote:
> At Sat, 7 Aug 2004 00:50:06 +0200,
> Domenico Andreoli wrote:
> > i have attached a workaround for bug #263348 in case nobody wants to
> > fix it linux-kernel-headers.
> > 
> > it should work although being not that elegant. i know it is fragile
> > since relies on _PPC_ERRNO_H macro being defined by asm/errno.h on
> > powerpc and that could change in any moment.
> > 

the header file used is actually asm/byteroder.h and macro is
_PPC_BYTEORDER_H. 1:3.6.18-2 used asm/error.h but this broke things in
a manner i didn't understand.

> Looking through the kernel source, it seems lkh should be fixed.  I
> put the patch to lkh cvs.

good :)

> However, now we're base-freeze period, and at least I don't decide to
> put new lkh package -18 into unstable and testing-proposed-updates
> yet, so it's good idea to put workaround fix for reiserfsprogs.

already put, uploaded and successfully built :)

> BTW, I think reiserfsprogs is tightly coupled with the kernel version,
> so I wonder it's OK to use lkh package, instead of using kernel
> headers which are included from the latest kernel source to
> reiserfsprogs.

don't know, Hans Reiser should be able to answer this question.


-----[ Domenico Andreoli, aka cavok
 --[ http://people.debian.org/~cavok/gpgkey.asc
   ---[ 3A0F 2F80 F79C 678A 8936  4FEE 0677 9033 A20E BC50

Reply to: