]> xenbits.xensource.com Git - people/sstabellini/xen-unstable.git/.git/commit
xen: x86: make init_intel_cacheinfo() void
authorDario Faggioli <dfaggioli@suse.com>
Thu, 26 Mar 2020 17:17:32 +0000 (18:17 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Thu, 26 Mar 2020 18:59:00 +0000 (18:59 +0000)
commit88a1a11daeb93c0f16d9c4d5cb30f1f563c1817c
tree43b13e47a660bf539bf41d5747aee531de1a889f
parent51900bb0288e1db213d218079c11003b5bb2426f
xen: x86: make init_intel_cacheinfo() void

It seems that we took this code from Linux, back when the function was
'unsigned int' and the return value was used.

But we are currently not doing anything with such value, so let's get
rid of it and make the function void. As an anecdote, that's pretty much
the same that happened in Linux as, since commit 807e9bc8e2fe6 ("x86/CPU:
Move cpu_detect_cache_sizes() into init_intel_cacheinfo()") the function
is void there too.

Signed-off-by: Dario Faggioli <dfaggioli@suse.com>
Acked-by: Andrew Cooper <andrew.cooper3@citrix.com>
xen/arch/x86/cpu/intel.c
xen/arch/x86/cpu/intel_cacheinfo.c
xen/include/asm-x86/processor.h