[Top] [All Lists]

Re: 64bit unaligned access on 32bit kernel

Subject: Re: 64bit unaligned access on 32bit kernel
From: Atsushi Nemoto <>
Date: Sat, 27 Aug 2005 22:57:40 +0900 (JST)
In-reply-to: <>
Original-recipient: rfc822;
References: <>
>>>>> On Thu, 25 Aug 2005 00:35:48 +0900 (JST), Atsushi Nemoto 
>>>>> <> said:

anemo> MIPS kernel has been using asm-generic/unaligned.h since
anemo> 2.6.12-rc2.  But the generic unaligned.h is not suitable for
anemo> 32bit kernel because it uses 'unsigned long' for 64bit values.

FYI, I found this problem while debugging why usbhid does not work
with 2.6.12 kernel (though it worked with 2.6.11) on big endian
platform.  The usbhid use put_unaligned/get_unaligned for __u64

Atsushi Nemoto

<Prev in Thread] Current Thread [Next in Thread>