summaryrefslogtreecommitdiff
path: root/drivers/hid
diff options
context:
space:
mode:
authorBorislav Petkov <bp@suse.de>2013-07-23 22:01:23 +0400
committerBorislav Petkov <bp@suse.de>2013-07-29 19:22:41 +0400
commitf0a56c480196a98479760862468cc95879df3de0 (patch)
tree0702dbc1a848f8d30cc57a7af052ff1e9e70feb9 /drivers/hid
parentc542b53da9ffa4fe9de61149818a06aacae531f8 (diff)
downloadlinux-f0a56c480196a98479760862468cc95879df3de0.tar.xz
amd64_edac: Fix single-channel setups
It can happen that configurations are running in a single-channel mode even with a dual-channel memory controller, by, say, putting the DIMMs only on the one channel and leaving the other empty. This causes a problem in init_csrows which implicitly assumes that when the second channel is enabled, i.e. channel 1, the struct dimm hierarchy will be present. Which is not. So always allocate two channels unconditionally. This provides for the nice side effect that the data structures are initialized so some day, when memory hotplug is supported, it should just work out of the box when all of a sudden a second channel appears. Reported-and-tested-by: Roger Leigh <rleigh@debian.org> Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions