mirror of
https://github.com/torvalds/linux.git
synced 2024-11-25 13:41:51 +00:00
d327fa4359
Feature bitmap is declared as an array of unsigned longs -- not good
since its size can differ between the host that generated the data file
and the host analyzing the file.
We need to handle endianness, but we don't know the size of the unsigned
long where the file was generated. Take a best guess at determining it:
try 64-bit swap first (ie., file created on a 64-bit host), and check if
the hostname feature bit is set (this feature bit is forced on as of
|
||
---|---|---|
.. | ||
firewire | ||
perf | ||
power | ||
slub | ||
testing/ktest | ||
usb | ||
virtio |