linux/arch
Greg Ungerer 171d809df1 m68k: merge mmu and non-mmu bitops.h
The following patch merges the mmu and non-mmu versions of the m68k
bitops.h files. Now there is a good deal of difference between the two
files, but none of it is actually an mmu specific difference. It is
all about the specific m68k/coldfire varient we are targeting. So it
makes an awful lot of sense to merge these into a single bitops.h.

There is a number of ways I can see to factor this code. The approach
I have taken here is to keep the various versions of each macro/function
type together. This means that there is some ifdefery with each to handle
each CPU type.

I have added some comments in a couple of appropriate places to try
and make it clear what the differences we are dealing with are.
Specifically the instruction and addressing mode differences we have
to deal with.

The merged form keeps the same underlying optimizations for each CPU
type for all the general bit clear/set/change and find bit operations.
It does switch to using the generic le operations though, instead of
any local varients.

Build tested on ColdFire, 68328, 68360 (which is cpu32) and 68020+.
Run tested on ColdFire and ARAnyM.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Acked-by: Geert Uytterhoeven <geert@linux-m68k.org>
2011-07-25 11:20:40 +10:00
..
alpha modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
arm Merge branch 'for-linus' of master.kernel.org:/home/rmk/linux-2.6-arm 2011-07-24 10:20:54 -07:00
avr32 Merge branch 'for-upstream' of git://openrisc.net/jonas/linux 2011-07-24 09:55:18 -07:00
blackfin modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
cris modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
frv modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
h8300 modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
ia64 Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus 2011-07-24 09:54:54 -07:00
m32r Merge branch 'for-upstream' of git://openrisc.net/jonas/linux 2011-07-24 09:55:18 -07:00
m68k m68k: merge mmu and non-mmu bitops.h 2011-07-25 11:20:40 +10:00
microblaze modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
mips modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
mn10300 modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
openrisc OpenRISC: Miscellaneous 2011-07-22 18:46:41 +02:00
parisc modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
powerpc Merge git://git.kernel.org/pub/scm/linux/kernel/git/rusty/linux-2.6-for-linus 2011-07-24 09:54:54 -07:00
s390 Merge branch 'for-linus' of git://git390.marist.edu/pub/scm/linux-2.6 2011-07-24 09:55:45 -07:00
score modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
sh Merge branch 'for-upstream' of git://openrisc.net/jonas/linux 2011-07-24 09:55:18 -07:00
sparc modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
tile modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
um Merge branches 'x86-urgent-for-linus', 'core-debug-for-linus', 'irq-core-for-linus' and 'perf-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip 2011-07-23 10:33:08 -07:00
unicore32 modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
x86 Merge branch 'for-upstream' of git://openrisc.net/jonas/linux 2011-07-24 09:55:18 -07:00
xtensa modules: make arch's use default loader hooks 2011-07-24 22:06:04 +09:30
.gitignore
Kconfig mm, powerpc: move the RCU page-table freeing into generic code 2011-05-25 08:39:16 -07:00