Jan Beulich fa276f36f3 [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>
2009-06-30 14:26:34 -07:00
..
2009-06-17 09:33:49 -07:00
2009-06-30 14:18:32 -07:00
2009-06-16 19:47:28 -07:00
2009-06-17 09:35:24 -07:00
2009-06-17 09:33:49 -07:00
2009-04-29 06:54:34 +01:00
2009-06-17 09:33:49 -07:00
2009-06-17 09:33:49 -07:00
2009-06-17 09:33:49 -07:00
2009-06-17 09:35:24 -07:00