• Stefan Richter's avatar
    firewire: core: optimize Topology Map creation · cb7c96da
    Stefan Richter authored
    The Topology Map of the local node was created in CPU byte order,
    then a temporary big endian copy was created to compute the CRC,
    and when a read request to the Topology Map arrived it had to be
    converted to big endian byte order again.
    
    We now generate it in big endian byte order in the first place.
    This also rids us of 1000 bytes stack usage in tasklet context.
    Signed-off-by: default avatarStefan Richter <stefanr@s5r6.in-berlin.de>
    cb7c96da
core-card.c 14.9 KB