diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2011-11-01 16:49:05 +0000 |
---|---|---|
committer | Alexander Graf <agraf@suse.de> | 2011-11-11 17:33:58 +0100 |
commit | d43b45e220ae82081e389ae113f6f03d9294fdcf (patch) | |
tree | e7551f91a8858930e2a29125023738ea7b72b89e /uboot_image.h | |
parent | 0e3b800e71cb7759d099eabbd8ad4c4fe848e381 (diff) |
pseries: Fix initialization of sPAPREnvironment structure
Since we added PCI support to the pseries machine, we include a qlist of
PCI host bridges in the sPAPREnvironment structure. However this list
was never properly initialized it. Somehow we got away with this until
some other recent change broke it, and we now segfault immediately on
startup.
This patch adds the required QLIST_INIT(), and while we're at it makes sure
we initialize the rest of the sPAPREnvironment structure to 0, to avoid
future nasty surprises.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Signed-off-by: Alexander Graf <agraf@suse.de>
Diffstat (limited to 'uboot_image.h')
0 files changed, 0 insertions, 0 deletions