From: Becky Bruce Date: Fri, 13 Jun 2008 23:41:43 +0000 (+1000) Subject: powerpc: Get rid of bitfields in ppc_bat struct X-Git-Tag: v2.6.27-rc1~1058^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=316a405841cc03723d401b098d188aa4e3daa69b;p=pandora-kernel.git 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 Signed-off-by: Paul Mackerras --- Reading git-diff-tree failed