summaryrefslogtreecommitdiff
path: root/mm/hugetlb.c
diff options
context:
space:
mode:
authorJan Beulich <JBeulich@novell.com>2009-06-30 11:01:57 (GMT)
committerTony Luck <tony.luck@intel.com>2009-06-30 21:26:34 (GMT)
commitfa276f36f3d8743295e067fb483b42dca8bd1ece (patch)
tree4a31e3ce3d2242a26aa361d330424060daafd311 /mm/hugetlb.c
parent58782b34e9ffcc04619634efe9658263344ed188 (diff)
downloadlinux-fsl-qoriq-fa276f36f3d8743295e067fb483b42dca8bd1ece.tar.xz
[IA64] address compiler warnings perfmon.c/salinfo.c
perfmon.c has a dubious cast directly from "int" to "void *". Add an intermediate cast to "long" to keep gcc happy. salinfo.c uses "down_trylock()" in a highly creative way (explained in the comments in the file) ... but it does kick out this warning: arch/ia64/kernel/salinfo.c:195: warning: ignoring return value of 'down_trylock' which people occasionally try to "fix" in ways that do not work. Use some casts to keep gcc quiet. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'mm/hugetlb.c')
0 files changed, 0 insertions, 0 deletions