mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
x86: fix build warning when CONFIG_NUMA not defined.
Impact: fix build warning The macro cpu_to_node did not reference it's argument, and instead simply returned a 0. This causes a "unused variable" warning if it's the only reference in a function (show_cache_disable). Replace it with the more correct inline function. Signed-off-by: Mike Travis <travis@sgi.com>
This commit is contained in:
parent
e46d51787e
commit
f2a0827119
1 changed files with 14 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue