diff options
author | Tomasz Pala <gotar@polanet.pl> | 2014-11-02 11:22:12 +0100 |
---|---|---|
committer | Borislav Petkov <bp@suse.de> | 2014-11-05 15:54:34 +0100 |
commit | f5b10c45ef80c0630ed5318a386da65dde0a1582 (patch) | |
tree | 7c517cc1c00fb4f816fa9760b52b9fd1839c57d2 /drivers/edac/amd64_edac.c | |
parent | bc4febe93c2fd7d0e74dad773bad2ed0237780ee (diff) | |
download | linux-stable-f5b10c45ef80c0630ed5318a386da65dde0a1582.tar.gz linux-stable-f5b10c45ef80c0630ed5318a386da65dde0a1582.tar.bz2 linux-stable-f5b10c45ef80c0630ed5318a386da65dde0a1582.zip |
amd64_edac: Build module on x86-32
By popular demand, enable amd64_edac on 32-bit too.
Boris:
- update Kconfig text.
- add a warning on load which states that 32-bit configurations are unsupported.
Signed-off-by: Tomasz Pala <gotar@polanet.pl>
Link: http://lkml.kernel.org/r/20141102102212.GA7034@polanet.pl
Signed-off-by: Borislav Petkov <bp@suse.de>
Diffstat (limited to 'drivers/edac/amd64_edac.c')
-rw-r--r-- | drivers/edac/amd64_edac.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/edac/amd64_edac.c b/drivers/edac/amd64_edac.c index 1a1d7c43a20f..17638d7cf5c2 100644 --- a/drivers/edac/amd64_edac.c +++ b/drivers/edac/amd64_edac.c @@ -3035,6 +3035,11 @@ static int __init amd64_edac_init(void) goto err_no_instances; setup_pci_device(); + +#ifdef CONFIG_X86_32 + amd64_err("%s on 32-bit is unsupported. USE AT YOUR OWN RISK!\n", EDAC_MOD_STR); +#endif + return 0; err_no_instances: |