git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'fix/misc' into for-linus
[pandora-kernel.git]
/
drivers
/
edac
/
amd64_edac.h
diff --git
a/drivers/edac/amd64_edac.h
b/drivers/edac/amd64_edac.h
index
a159957
..
ba73015
100644
(file)
--- a/
drivers/edac/amd64_edac.h
+++ b/
drivers/edac/amd64_edac.h
@@
-444,7
+444,7
@@
enum {
#define K8_MSR_MC4ADDR 0x0412
/* AMD sets the first MC device at device ID 0x18. */
-static inline int get_
mc_node_id_from_pdev
(struct pci_dev *pdev)
+static inline int get_
node_id
(struct pci_dev *pdev)
{
return PCI_SLOT(pdev->devfn) - 0x18;
}