Re: [RFC][PATCH resend 8/12] asm-generic: bitops: introduce le bit offset macro

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Arnd Bergmann
Date: Thursday, May 6, 2010 - 6:38 am

On Wednesday 05 May 2010, Takuya Yoshikawa wrote:

Ok, I see.


I'm not sure I understand how this macro is going to be used though.
If you are just using this in kernel space, that's fine, please go for
it.

However, if the intention is to use the same macro in user space, putting
it into asm-generic/bitops/* is not going to help, because those headers
are not available in user space, and I wouldn't want to change that.

The definition of the macro is not part of the ABI, so just duplicate
it in KVM if you need it there.

	Arnd
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH 4/12] x86: introduce copy_in_user() for 32-bit, Takuya Yoshikawa, (Tue May 4, 6:02 am)
[RFC][PATCH RFC 10/12] KVM: move dirty bitmaps to user space, Takuya Yoshikawa, (Tue May 4, 6:07 am)
Re: [RFC][PATCH resend 8/12] asm-generic: bitops: introduc ..., Arnd Bergmann, (Thu May 6, 6:38 am)
Re: [RFC][PATCH RFC 10/12] KVM: move dirty bitmaps to user ..., Takuya Yoshikawa, (Tue May 11, 11:27 pm)