]> git.baikalelectronics.ru Git - kernel.git/commit
edac: Add edac_pci_alloc_index()
authorHarry Ciao <qingtao.cao@windriver.com>
Thu, 2 Apr 2009 23:58:47 +0000 (16:58 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 3 Apr 2009 02:05:03 +0000 (19:05 -0700)
commit589963eaf50fef6877723ae4f91e2114f838eb90
tree2d9a496c18e1b9838022816adfa3e9cf72386617
parentc63e5933e9ed88139641d5101aaa06b27f6e94b0
edac: Add edac_pci_alloc_index()

Add edac_pci_alloc_index(), because for MAPLE platform there may exist
several EDAC driver modules that could make use of edac_pci_ctl_info
structure at the same time.  The index allocation for these structures
should be taken care of by EDAC core.

Signed-off-by: Harry Ciao <qingtao.cao@windriver.com>
Cc: Doug Thompson <norsk5@yahoo.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/edac_core.h
drivers/edac/edac_pci.c