]> Pileus Git - ~andy/linux/blobdiff - drivers/edac/amd64_edac.h
x86, AMD, NB: Add multi-domain support
[~andy/linux] / drivers / edac / amd64_edac.h
index e864f407806c2bef8d0240e01df639fe51c9d909..cd7845fcc272c161178f35b7bd2c23152efc4871 100644 (file)
 /* MSRs */
 #define MSR_MCGCTL_NBE                 BIT(4)
 
-/* AMD sets the first MC device at device ID 0x18. */
-static inline u8 get_node_id(struct pci_dev *pdev)
-{
-       return PCI_SLOT(pdev->devfn) - 0x18;
-}
-
 enum amd_families {
        K8_CPUS = 0,
        F10_CPUS,