amd64_edac.c (a597d2a5d9820dbbadd70583170c48c7290427df) | amd64_edac.c (f5b10c45ef80c0630ed5318a386da65dde0a1582) |
---|---|
1#include "amd64_edac.h" 2#include <asm/amd_nb.h> 3 4static struct edac_pci_ctl_info *pci_ctl; 5 6static int report_gart_errors; 7module_param(report_gart_errors, int, 0644); 8 --- 3021 unchanged lines hidden (view full) --- 3030 if (err) 3031 goto err_pci; 3032 3033 err = -ENODEV; 3034 if (!atomic_read(&drv_instances)) 3035 goto err_no_instances; 3036 3037 setup_pci_device(); | 1#include "amd64_edac.h" 2#include <asm/amd_nb.h> 3 4static struct edac_pci_ctl_info *pci_ctl; 5 6static int report_gart_errors; 7module_param(report_gart_errors, int, 0644); 8 --- 3021 unchanged lines hidden (view full) --- 3030 if (err) 3031 goto err_pci; 3032 3033 err = -ENODEV; 3034 if (!atomic_read(&drv_instances)) 3035 goto err_no_instances; 3036 3037 setup_pci_device(); |
3038 3039#ifdef CONFIG_X86_32 3040 amd64_err("%s on 32-bit is unsupported. USE AT YOUR OWN RISK!\n", EDAC_MOD_STR); 3041#endif 3042 |
|
3038 return 0; 3039 3040err_no_instances: 3041 pci_unregister_driver(&amd64_pci_driver); 3042 3043err_pci: 3044 msrs_free(msrs); 3045 msrs = NULL; --- 40 unchanged lines hidden --- | 3043 return 0; 3044 3045err_no_instances: 3046 pci_unregister_driver(&amd64_pci_driver); 3047 3048err_pci: 3049 msrs_free(msrs); 3050 msrs = NULL; --- 40 unchanged lines hidden --- |