amd64_edac: fix driver instance lookup table allocation
authorBorislav Petkov <borislav.petkov@amd.com>
Mon, 21 Sep 2009 11:23:34 +0000 (13:23 +0200)
committerBorislav Petkov <borislav.petkov@amd.com>
Wed, 7 Oct 2009 14:47:34 +0000 (16:47 +0200)
commit3011b20da9d60b8168ead403e6aa860d0d8d11e4
tree8abcdeff4458dd961beb04610a8d9136b39806a0
parent0eca52a92735f43462165efe00a7e394345fb38e
amd64_edac: fix driver instance lookup table allocation

Allocate memory statically for 8-node machines max for simplicity
instead of relying on MAX_NUMNODES which is 0 on !CONFIG_NUMA builds.

Spotted by Jan Beulich.

Signed-off-by: Borislav Petkov <borislav.petkov@amd.com>
drivers/edac/amd64_edac.c
drivers/edac/amd64_edac.h