sysfs: Initialised pci bus legacy_mem field before use
authorMel Gorman <mel@csn.ul.ie>
Wed, 10 Mar 2010 22:48:34 +0000 (22:48 +0000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 19 Mar 2010 14:12:11 +0000 (07:12 -0700)
commit6757eca348fbbdd4ab1020e565f325cd6a6b2698
tree5180a866a033ddbfc7f9c093a94493e4f1a602a2
parente1955ca0ee55286cbc65a8ed7471d540ae83dac8
sysfs: Initialised pci bus legacy_mem field before use

PPC64 is failing to boot the latest mmotm due to an uninitialised pointer in
pci_create_legacy_files(). The surprise is that machines boot at all and it
would appear to affect current mainline as well.  This patch fixes the problem.

Signed-off-by: Mel Gorman <mel@csn.ul.ie>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci-sysfs.c