git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e46d517
)
x86: fix build warning when CONFIG_NUMA not defined.
author
Mike Travis
<travis@sgi.com>
Thu, 15 Jan 2009 17:19:32 +0000
(09:19 -0800)
committer
Mike Travis
<travis@sgi.com>
Thu, 15 Jan 2009 17:19:32 +0000
(09:19 -0800)
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>
No differences found