linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* ext2_* in bitops.h
@ 2009-03-04  5:27 Andy Grover
  2009-03-04  5:58 ` Benjamin Herrenschmidt
  0 siblings, 1 reply; 2+ messages in thread
From: Andy Grover @ 2009-03-04  5:27 UTC (permalink / raw)
  To: david; +Cc: paulus, linuxppc-dev

Hi,

Can the ext2_* definitions in arch/powerpc/include/asm/bitops.h be 
replaced with:

#include <include/asm-generic/bitops/ext2-non-atomic.h>
#include <include/asm-generic/bitops/ext2-atomic.h>

?

Also, can the bitop swizzling (starting at line 351) be removed by 
including include/asm-generic/bitops/le.h? It looks very similar if not 
identical.

I'm afraid I don't have a ppc to test on so I wanted to see what you all 
thought.

Regards -- Andy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-04  6:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-04  5:27 ext2_* in bitops.h Andy Grover
2009-03-04  5:58 ` Benjamin Herrenschmidt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).