summaryrefslogtreecommitdiffstats
path: root/drivers/ata/pata_legacy.c
diff options
context:
space:
mode:
authorRoland Dreier <rdreier@cisco.com>2010-06-02 12:36:53 +0200
committerDavid S. Miller <davem@davemloft.net>2010-06-03 12:28:24 +0200
commit9e2d11b926765681f72db0373d2ecbbac28359b3 (patch)
tree73f22ef1fe41bb827d2cc77fae033aa7c20781a8 /drivers/ata/pata_legacy.c
parenttehuti: return -EFAULT on copy_to_user errors (diff)
downloadlinux-9e2d11b926765681f72db0373d2ecbbac28359b3.tar.xz
linux-9e2d11b926765681f72db0373d2ecbbac28359b3.zip
epic100: Test __BIG_ENDIAN instead of (non-existent) CONFIG_BIG_ENDIAN
Probably no one has used this driver on big-endian systems, since it was setting up descriptor swapping if CONFIG_BIG_ENDIAN is set, which it never is, since that symbol is not mentioned anywhere else in the kernel source. Switch this test to a check for __BIG_ENDIAN so it has a chance at working. Signed-off-by: Roland Dreier <rolandd@cisco.com> Acked-by: Jeff Garzik <jgarzik@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ata/pata_legacy.c')
0 files changed, 0 insertions, 0 deletions