mirror of
https://github.com/xen-project/xen.git
synced 2026-10-29 10:40:03 +01:00
Clean up event-channel debug-key output, and use spin_lock().
Signed-off-by: Jan Beulich <jbeulich@novell.com>
This commit is contained in:
1 parent
76ec4da93b
commit
b91d9efd39
1 file changed
+4
-7
@@ -1123,14 +1123,11 @@ static void domain_dump_evtchn_info(struct domain *d)
|
||||
|
||||
bitmap_scnlistprintf(keyhandler_scratch, sizeof(keyhandler_scratch),
|
||||
d->poll_mask, d->max_vcpus);
|
||||
printk("Domain %d polling vCPUs: {%s}\n",
|
||||
d->domain_id, keyhandler_scratch);
|
||||
|
||||
if ( !spin_trylock(&d->event_lock) )
|
||||
return;
|
||||
|
||||
printk("Event channel information for domain %d:\n"
|
||||
" port [p/m]\n", d->domain_id);
|
||||
"Polling vCPUs: {%s}\n"
|
||||
" port [p/m]\n", d->domain_id, keyhandler_scratch);
|
||||
|
||||
spin_lock(&d->event_lock);
|
||||
|
||||
for ( port = 1; port < MAX_EVTCHNS(d); ++port )
|
||||
{
|
||||
|
||||