]> err.no Git - linux-2.6/commitdiff
[IA64] Fix two warnings introduced by perfmon patches.
authorTony Luck <tony.luck@intel.com>
Tue, 3 May 2005 23:21:45 +0000 (16:21 -0700)
committerTony Luck <tony.luck@intel.com>
Tue, 3 May 2005 23:21:45 +0000 (16:21 -0700)
Signed-off-by: Tony Luck <tony.luck@intel.com>
arch/ia64/kernel/process.c

index 474d75f9de8a332babbf2d3791d71a6cc92454d4..ebb71f3d6d190632aed9819fd4e12fef5d1215b5 100644 (file)
@@ -183,7 +183,7 @@ static int __init nohalt_setup(char * str)
 }
 __setup("nohalt", nohalt_setup);
 
-int
+void
 update_pal_halt_status(int status)
 {
        can_do_pal_halt = pal_halt && status;
@@ -195,8 +195,6 @@ update_pal_halt_status(int status)
 void
 default_idle (void)
 {
-       int can_do_pal;
-
        while (!need_resched())
                if (can_do_pal_halt)
                        safe_halt();