Revision d8bdf5fa

b/target-sparc/op_helper.c
1143 1143
#ifdef TARGET_SPARC64
1144 1144
void do_tick_set_count(void *opaque, uint64_t count)
1145 1145
{
1146
#if !defined(CONFIG_USER_ONLY)
1146 1147
    ptimer_set_count(opaque, -count);
1148
#endif
1147 1149
}
1148 1150

  
1149 1151
uint64_t do_tick_get_count(void *opaque)
1150 1152
{
1153
#if !defined(CONFIG_USER_ONLY)
1151 1154
    return -ptimer_get_count(opaque);
1155
#else
1156
    return 0;
1157
#endif
1152 1158
}
1153 1159

  
1154 1160
void do_tick_set_limit(void *opaque, uint64_t limit)
1155 1161
{
1162
#if !defined(CONFIG_USER_ONLY)
1156 1163
    ptimer_set_limit(opaque, -limit, 0);
1164
#endif
1157 1165
}
1158 1166
#endif

Also available in: Unified diff