summaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
authorMonte Copeland <copelanm@us.ibm.com>2011-07-11 16:24:13 -0500
committerMonte K. Copeland <copelanm@us.ibm.com>2011-07-14 14:43:22 -0500
commitaccc0f438eca45dcd1058a195d192d51a6f1c4aa (patch)
tree7f98f3f58252536eeace7cb25257d7b8bb502fad /src/lib
parentb9558dcb65612b60a20719ea489dadda4776e1e4 (diff)
downloadtalos-hostboot-accc0f438eca45dcd1058a195d192d51a6f1c4aa.tar.gz
talos-hostboot-accc0f438eca45dcd1058a195d192d51a6f1c4aa.zip
syscall cleanup/scrub
- 2nd pass - 3rd pass Change-Id: I5eb314c0c635aa42bc4d841065d9a9a786f8be4b Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/198 Tested-by: Jenkins Server Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com> Reviewed-by: MIKE J. JONES <mjjones@us.ibm.com>
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/syscall_mmio.C4
-rw-r--r--src/lib/syscall_msg.C4
-rw-r--r--src/lib/syscall_time.C4
3 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/syscall_mmio.C b/src/lib/syscall_mmio.C
index 754666a35..3c21c8902 100644
--- a/src/lib/syscall_mmio.C
+++ b/src/lib/syscall_mmio.C
@@ -21,9 +21,9 @@ uint64_t mmio_hmer_read()
return (uint64_t) _syscall0(MMIO_HMER_READ);
}
-int mmio_hmer_write(uint64_t value)
+void mmio_hmer_write(uint64_t value)
{
- return (int)(int64_t)_syscall1(MMIO_HMER_WRITE, (void*)value);
+ _syscall1(MMIO_HMER_WRITE, (void*)value);
}
mutex_t * mmio_xscom_mutex()
diff --git a/src/lib/syscall_msg.C b/src/lib/syscall_msg.C
index f3d99a624..3e7c23632 100644
--- a/src/lib/syscall_msg.C
+++ b/src/lib/syscall_msg.C
@@ -11,9 +11,9 @@ msg_q_t msg_q_create()
return (msg_q_t) _syscall0(MSGQ_CREATE);
}
-int msg_q_destroy(msg_q_t q)
+void msg_q_destroy(msg_q_t q)
{
- return (int64_t)_syscall1(MSGQ_DESTROY, q);
+ _syscall1(MSGQ_DESTROY, q);
}
int msg_q_register(msg_q_t q, const char* name)
diff --git a/src/lib/syscall_time.C b/src/lib/syscall_time.C
index 5c45fa80b..0a779b9f0 100644
--- a/src/lib/syscall_time.C
+++ b/src/lib/syscall_time.C
@@ -3,7 +3,7 @@
using namespace Systemcalls;
-int nanosleep(uint64_t sec, uint64_t nsec)
+void nanosleep(uint64_t sec, uint64_t nsec)
{
- return (int64_t) _syscall2(TIME_NANOSLEEP, (void*)sec, (void*)nsec);
+ _syscall2(TIME_NANOSLEEP, (void*)sec, (void*)nsec);
}
OpenPOWER on IntegriCloud