summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cpukit/ChangeLog7
-rw-r--r--cpukit/rtems/src/timerserver.c2
2 files changed, 8 insertions, 1 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog
index 1256609e65..80065141ca 100644
--- a/cpukit/ChangeLog
+++ b/cpukit/ChangeLog
@@ -1,3 +1,10 @@
+2006-09-08 Ken Peters <ken.peters@jpl.nasa.gov>
+
+ PR 1170/rtems
+ * rtems/src/timerserver.c: Timer Server created the TIME task with a
+ hard-coded hexadecimal number instead of using rtems_build_name. This
+ resulted in a byte-swapped name on some platforms.
+
2006-09-06 Chris Johns <chrisj@rtems.org>
* pppd/pppd.h: Fix the bug in name change. The UNTIMEOUT
diff --git a/cpukit/rtems/src/timerserver.c b/cpukit/rtems/src/timerserver.c
index 7a5f48f2d6..af6910bd5a 100644
--- a/cpukit/rtems/src/timerserver.c
+++ b/cpukit/rtems/src/timerserver.c
@@ -185,7 +185,7 @@ rtems_status_code rtems_timer_initiate_server(
*/
status = rtems_task_create(
- 0x4954454d, /* "TIME" */
+ rtems_build_name('T','I','M','E'), /* "TIME" */
_priority, /* create with priority 1 since 0 is illegal */
stack_size, /* let user specify stack size */
RTEMS_NO_PREEMPT, /* no preempt is like an interrupt */