summaryrefslogtreecommitdiffstats
path: root/drivers/pci/intr_remapping.h
diff options
context:
space:
mode:
authorJeremy Kerr <jeremy.kerr@canonical.com>2010-01-30 09:45:26 +0100
committerGrant Likely <grant.likely@secretlab.ca>2010-02-09 16:34:10 +0100
commit337148812f97368a8ec4a69f1691e4c5ce3af494 (patch)
tree3fa2e5477c657cb2ebc40db9182d0989a5d60e13 /drivers/pci/intr_remapping.h
parentof: use __be32 for cell value accessors (diff)
downloadlinux-337148812f97368a8ec4a69f1691e4c5ce3af494.tar.xz
linux-337148812f97368a8ec4a69f1691e4c5ce3af494.zip
of: assume big-endian properties, adding conversions where necessary
Properties in the device tree are specified as big-endian. At present, the only platforms to support device trees are also big-endian, so we've been acessing the properties as raw values. We'd like to add device tree support to little-endian platforms too, so add endian conversion to the sites where we access property values in the common of code. Compiled on powerpc (ppc44x_defconfig & ppc64_defconfig) and arm (fdt support only for now). Signed-off-by: Jeremy Kerr <jeremy.kerr@canonical.com> Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Diffstat (limited to 'drivers/pci/intr_remapping.h')
0 files changed, 0 insertions, 0 deletions