1
linux/arch/powerpc
Becky Bruce 316a405841 powerpc: Get rid of bitfields in ppc_bat struct
While working on the 36-bit physical support, I noticed that there
was exactly one line of code that actually referenced the bitfields.
So I got rid of them and redefined ppc_bat as a struct of 2 u32's:
batu and batl.  I also got rid of the previous union that held the
bitfield structs and a word representation of the batu/l values.

This seems like a nicer solution than adding in a bunch of
new bitfields to support extended bat addressing that would never
get used, and just leaving the struct as-is would have been
incomplete in the face of large physical addressing.

Signed-off-by: Becky Bruce <becky.bruce@freescale.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
2008-06-30 22:31:05 +10:00
..
boot Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
configs Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
kernel powerpc: Increase CRASH_HANDLER_MAX 2008-06-30 22:31:00 +10:00
kvm KVM: ppc: Report bad GFNs 2008-06-06 21:22:41 +03:00
lib [POWERPC] Fix -Os kernel builds with newer gcc versions 2008-06-16 15:00:54 +10:00
math-emu [POWERPC] Replace remaining __FUNCTION__ occurrences 2008-04-01 20:43:09 +11:00
mm powerpc: Get rid of bitfields in ppc_bat struct 2008-06-30 22:31:05 +10:00
oprofile Merge branch 'linux-2.6' 2008-04-14 21:11:02 +10:00
platforms powerpc/cell: Disable ptcal in case of crash kdump 2008-06-30 22:30:58 +10:00
sysdev Merge branch 'next' of master.kernel.org:/pub/scm/linux/kernel/git/jwboyer/powerpc-4xx 2008-06-30 09:57:05 +10:00
xmon Merge branch 'linux-2.6' 2008-06-30 10:16:50 +10:00
.gitignore
Kconfig powerpc/sysdev: implement FSL GTM support 2008-06-10 10:38:50 -05:00
Kconfig.debug [POWERPC] Add IRQSTACKS support on ppc32 2008-04-29 15:57:34 +10:00
Makefile powerpc: Get rid of CROSS32{AS,LD,OBJCOPY} 2008-06-30 22:30:39 +10:00