commit | 95c5afc201871d5723c1b220a9104e3269e2a21b | [log] [tgz] |
---|---|---|
author | Gerd Hoffmann <kraxel@redhat.com> | Tue Nov 26 11:21:23 2013 +0100 |
committer | Gerd Hoffmann <kraxel@redhat.com> | Fri Nov 29 09:32:01 2013 +0100 |
tree | a56b1a0f3e8a512530dcfb4e73396d126e3a0423 | |
parent | 62335436b649aea80242b6961f23c59b8f989f73 [diff] |
pci: don't reorder entries when moving to 64bit list Otherwise the 64bit bars are not mapped in largest first order, thereby messing up the alignment. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
diff --git a/src/fw/pciinit.c b/src/fw/pciinit.c index 34279a4..950b089 100644 --- a/src/fw/pciinit.c +++ b/src/fw/pciinit.c
@@ -582,6 +582,7 @@ // Move from source list to destination list. hlist_del(&entry->node); hlist_add(&entry->node, last); + last = &entry->node.next; } }