Commit 48f59211 authored by Ed Maste's avatar Ed Maste Committed by Peter Maydell
Browse files

bsd-user: fix FreeBSD build after d148d90e



Signed-off-by: default avatarEd Maste <emaste@freebsd.org>
Message-id: 1475611369-74971-1-git-send-email-emaste@freebsd.org
Signed-off-by: default avatarPeter Maydell <peter.maydell@linaro.org>
parent e902754e
Loading
Loading
Loading
Loading
+10 −0
Original line number Diff line number Diff line
@@ -695,6 +695,16 @@ static void usage(void)

THREAD CPUState *thread_cpu;

bool qemu_cpu_is_self(CPUState *cpu)
{
    return thread_cpu == cpu;
}

void qemu_cpu_kick(CPUState *cpu)
{
    cpu_exit(cpu);
}

/* Assumes contents are already zeroed.  */
void init_task_state(TaskState *ts)
{