x86/microcode: Make a couple of symbols static
authorColin Ian King <colin.king@canonical.com>
Mon, 26 Jun 2017 12:35:33 +0000 (14:35 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Mon, 26 Jun 2017 13:57:37 +0000 (15:57 +0200)
commitd7f7dc7b88ed7e98f6e503f821b60ace206a35bc
tree648eb5eca9495bf26bde9ff37617242e5763c868
parentbd20733045d5db55515442d828376a3a71d6be48
x86/microcode: Make a couple of symbols static

The helper function __load_ucode_amd() and pointer intel_ucode_patch do
not need to be in global scope, so make them static.

Fixes those sparse warnings:
"symbol '__load_ucode_amd' was not declared. Should it be static?"
"symbol 'intel_ucode_patch' was not declared. Should it be static?"

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: http://lkml.kernel.org/r/20170622095736.11937-1-colin.king@canonical.com
arch/x86/kernel/cpu/microcode/amd.c
arch/x86/kernel/cpu/microcode/intel.c