summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorTony Luck <tony.luck@intel.com>2005-05-03 16:21:45 -0700
committerTony Luck <tony.luck@intel.com>2005-05-03 16:21:45 -0700
commita71f62edc935fbdc346c5b16bea19f1480d29635 (patch)
treefce9b26a5a9e059735050415eab79fb06a24eae3 /arch
parenta5a70b75d93b26e14c0c5e759099d602a480b9e2 (diff)
downloadop-kernel-dev-a71f62edc935fbdc346c5b16bea19f1480d29635.zip
op-kernel-dev-a71f62edc935fbdc346c5b16bea19f1480d29635.tar.gz
[IA64] Fix two warnings introduced by perfmon patches.
Signed-off-by: Tony Luck <tony.luck@intel.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/ia64/kernel/process.c4
1 files changed, 1 insertions, 3 deletions
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 @@ 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();
OpenPOWER on IntegriCloud