case TARGET_SYS_time:
{
- retval = (int) (*cb->time) (cb, 0L);
+ retval = (int) (*cb->time) (cb);
/* At time of this writing, CB_SYSCALL_time doesn't do the
part of setting *arg1 to the return value. */
/* We have a simulator-specific notion of time. See TARGET_TIME. */
-static long
-cris_time (host_callback *cb ATTRIBUTE_UNUSED, long *t)
+static int64_t
+cris_time (host_callback *cb ATTRIBUTE_UNUSED)
{
- long retval = TARGET_TIME (current_cpu_for_cb_callback);
- if (t)
- *t = retval;
- return retval;
+ return TARGET_TIME (current_cpu_for_cb_callback);
}
/* Set target-specific callback data. */