summaryrefslogtreecommitdiffstats
path: root/src/sys/prof
diff options
context:
space:
mode:
authorPatrick Williams <iawillia@us.ibm.com>2012-07-31 10:26:12 -0500
committerA. Patrick Williams III <iawillia@us.ibm.com>2012-08-10 11:38:42 -0500
commit99f217daf307b3cd963bcbce8eb7b025d58f734e (patch)
tree87a82faba5be946460ff25f222f0f10a03afdfce /src/sys/prof
parentda472c60655393f0bb49113713a8be2bdd2a9b6f (diff)
downloadtalos-hostboot-99f217daf307b3cd963bcbce8eb7b025d58f734e.tar.gz
talos-hostboot-99f217daf307b3cd963bcbce8eb7b025d58f734e.zip
Support for master winkle.
RTC: 44730 Change-Id: Ifaeecc659e1bfd8ded4744dc591fc993471519ba Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/1471 Tested-by: Jenkins Server Reviewed-by: Mark W. Wenning <wenning@us.ibm.com> Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/sys/prof')
-rw-r--r--src/sys/prof/idletask.C10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/sys/prof/idletask.C b/src/sys/prof/idletask.C
index da568f955..1c38835ce 100644
--- a/src/sys/prof/idletask.C
+++ b/src/sys/prof/idletask.C
@@ -42,11 +42,11 @@ void TaskManager::idleTaskLoop(void* unused)
// Lower priority (and yield simics thread).
setThreadPriorityLow();
- // Request privilege escalation for doze.
- register uint64_t syscall = MISC_CPUDOZE;
- asm volatile("or 3, %0, %0; sc" :: "r" (syscall) : "r3");
+ // Request privilege escalation for nap.
+ register uint64_t syscall = MISC_CPUNAP;
+ asm volatile("or 3, %0, %0; sc" :: "r" (syscall) : "r3", "cc");
- // Execute doze.
- doze();
+ // Execute nap.
+ nap();
}
}
OpenPOWER on IntegriCloud