[IA64] Fix two warnings introduced by perfmon patches.
Signed-off-by: Tony Luck <tony.luck@intel.com>
diff --git a/arch/ia64/kernel/process.c b/arch/ia64/kernel/process.c
index 474d75f..ebb71f3 100644
--- a/arch/ia64/kernel/process.c
+++ b/arch/ia64/kernel/process.c
@@ -183,7 +183,7 @@
}
__setup("nohalt", nohalt_setup);
-int
+void
update_pal_halt_status(int status)
{
can_do_pal_halt = pal_halt && status;
@@ -195,8 +195,6 @@
void
default_idle (void)
{
- int can_do_pal;
-
while (!need_resched())
if (can_do_pal_halt)
safe_halt();