x86/amd_nb, EDAC: Rename amd_get_node_id()
authorAravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Mon, 19 Oct 2015 09:17:42 +0000 (11:17 +0200)
committerIngo Molnar <mingo@kernel.org>
Wed, 21 Oct 2015 09:10:55 +0000 (11:10 +0200)
commit1a6775c1a2c2ed863699403cda517916c22aeb72
tree91ed724dc1e7af18963266f1b168fe7f19a9524d
parenteb6db83d105914c246ac5875be76fd4b944833d5
x86/amd_nb, EDAC: Rename amd_get_node_id()

This function doesn't give us the "Node ID" as the function name
suggests. Rather, it receives a PCI device as argument, checks
the available F3 PCI device IDs in the system and returns the
index of the matching Bus/Device IDs.

Rename it to amd_pci_dev_to_node_id().

No functional change is introduced.

Suggested-by: Ingo Molnar <mingo@kernel.org>
Signed-off-by: Aravind Gopalakrishnan <Aravind.Gopalakrishnan@amd.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: H. Peter Anvin <hpa@zytor.com>
Cc: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Suravee Suthikulpanit <Suravee.Suthikulpanit@amd.com>
Cc: Thomas Gleixner <tglx@linutronix.de>
Cc: linux-edac <linux-edac@vger.kernel.org>
Link: http://lkml.kernel.org/r/1445246268-26285-3-git-send-email-bp@alien8.de
Signed-off-by: Ingo Molnar <mingo@kernel.org>
arch/x86/include/asm/amd_nb.h
drivers/edac/amd64_edac.c