]> git.baikalelectronics.ru Git - kernel.git/commit
x86/amd_nb, char/amd64-agp: Use amd_nb_num() accessor
authorBorislav Petkov <bp@suse.de>
Mon, 16 Mar 2020 12:23:21 +0000 (13:23 +0100)
committerBorislav Petkov <bp@suse.de>
Tue, 17 Mar 2020 09:25:58 +0000 (10:25 +0100)
commit850d133e0aa54c966e43714499dc854d59d246d8
treeb0d5efde7d969e8301956b681d8583bf424220b5
parent72fc3d9daf79780cab440d972304c4fe3440de95
x86/amd_nb, char/amd64-agp: Use amd_nb_num() accessor

... to find whether there are northbridges present on the
system. Convert the last forgotten user and therefore, unexport
amd_nb_misc_ids[] too.

Signed-off-by: Borislav Petkov <bp@suse.de>
Cc: Michal Kubecek <mkubecek@suse.cz>
Cc: Yazen Ghannam <yazen.ghannam@amd.com>
Link: https://lkml.kernel.org/r/20200316150725.925-1-bp@alien8.de
arch/x86/include/asm/amd_nb.h
arch/x86/kernel/amd_nb.c
drivers/char/agp/amd64-agp.c