Re: [Qemu-devel] [PATCH 04/10] coroutine: init co_runnable_bh during boot

2012-04-03 Thread Paolo Bonzini
Il 03/04/2012 10:38, Lai Jiangshan ha scritto: > use __attribute__((constructor)) to do the initialization. > > Signed-off-by: Lai Jiangshan > --- > qemu-coroutine-lock.c |9 + > 1 files changed, 5 insertions(+), 4 deletions(-) > > diff --git a/qemu-coroutine-lock.c b/qemu-coroutine

[Qemu-devel] [PATCH 04/10] coroutine: init co_runnable_bh during boot

2012-04-03 Thread Lai Jiangshan
use __attribute__((constructor)) to do the initialization. Signed-off-by: Lai Jiangshan --- qemu-coroutine-lock.c |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/qemu-coroutine-lock.c b/qemu-coroutine-lock.c index 90141cd..7c29bc4 100644 --- a/qemu-coroutine-lock