x86/msr: Make locally used functions static
authorZhao Xuehui <zhaoxuehui1@huawei.com>
Thu, 8 Apr 2021 09:52:18 +0000 (17:52 +0800)
committerBorislav Petkov <bp@suse.de>
Thu, 8 Apr 2021 09:57:40 +0000 (11:57 +0200)
commit3e7bbe15ed84e3baa7dfab3aebed3a06fd39b806
tree136326b03988aacdf730b4d5b8e2cfe3e2b48b50
parentdda451f391eee5d68db3ca87fd8b2a42c8c2b507
x86/msr: Make locally used functions static

The functions msr_read() and msr_write() are not used outside of msr.c,
make them static.

 [ bp: Massage commit message. ]

Signed-off-by: Zhao Xuehui <zhaoxuehui1@huawei.com>
Signed-off-by: Borislav Petkov <bp@suse.de>
Link: https://lkml.kernel.org/r/20210408095218.152264-1-zhaoxuehui1@huawei.com
arch/x86/lib/msr.c