On 2011-04-26 06:50, Takuya Yoshikawa wrote: > On Mon, 25 Apr 2011 11:15:20 +0200 > Jan Kiszka <jan.kiszka@xxxxxx> wrote: > >>> Sorry, I did not test on x86_32. >>> >>> Introducing a wrapper function with ifdef would be the best way? >>> >> >> Maybe you could also add the missing 64-bit get_user for x86-32. Given >> that we have a corresponding put_user, I wonder why the get_user was >> left out. >> >> Jan >> > > Google said that there was a similar talk on LKML in 2004. > > On that threads, Linus explained how to tackle on the 64-bit get_user > implementation. But I could not see what happened after that. Mmh, maybe the kernel was lacking a real use case, so no one seriously cared. I don't see a fundamental blocker for an x86-32 __get_user_8 version based on two mov. I would give it a try. Jan
Attachment:
signature.asc
Description: OpenPGP digital signature