summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorAlexander Graf <agraf@suse.de>2009-10-30 06:47:26 +0100
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2009-11-05 06:50:27 +0100
commitc8240bd6f0b4b1b21ffd36dd44114d05c7afe0c0 (patch)
treebea42ed16cf9f2b2e252155842282aa524f32a0d /crypto
parentFix trace.h (diff)
downloadlinux-c8240bd6f0b4b1b21ffd36dd44114d05c7afe0c0.tar.xz
linux-c8240bd6f0b4b1b21ffd36dd44114d05c7afe0c0.zip
Use Little Endian for Dirty Bitmap
We currently use host endian long types to store information in the dirty bitmap. This works reasonably well on Little Endian targets, because the u32 after the first contains the next 32 bits. On Big Endian this breaks completely though, forcing us to be inventive here. So Ben suggested to always use Little Endian, which looks reasonable. We only have dirty bitmap implemented in Little Endian targets so far and since PowerPC would be the first Big Endian platform, we can just as well switch to Little Endian always with little effort without breaking existing targets. Signed-off-by: Alexander Graf <agraf@suse.de> Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions