]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd1519931dc686129f682c94fa56ddd607be4b080
tree5180a866a033ddbfc7f9c093a94493e4f1a602a2
parent863b96652b8797a12fd0fd35109da99bbe193e9e
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