Re: [PATCH v4 00/24] Introduce little endian bitops

From
Akinobu Mita <akinobu.mita@gmail.com>
Date
2011-01-18 09:49:34
Also in
lkml
Reply to
Russell King, 2011-01-17
2011/1/17 Russell King [off-list ref]:
The ARM bitops (set_bit/clear_bit/change_bit) have always taken an
unsigned long argument and we have casts in our preprocessor macros
for them.  Only a couple of the find_bit functions have taken a
void pointer.

I really don't want to have to change the function prototypes on ARM,
and I really don't want to hide this fact from non-fs users that ARM
bitops require such pointers, with the exception of what's required
for ext2/minix.  If we do hide it, at some point we'll have someone
believing that ARM's wrong to be requiring stricter alignment.
I have updated in my local branch and attached the diff between v4 and
updated one.  It only changes the function prototypes for le bitops.
The function prototypes for the other bitops are not changed.

Assuming that ext2_*_bit() bitops is renamed to *_bit_le() bitops
by this patch series, it doesn't make the things worse.
(i.e. both bitops hide the fact that require long aligned pointers)

What do you think?

Attachments

Thread (34 messages) 34 messages, 5 authors, last reply 2011-01-18
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help