diff options
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_mp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ddb/db_mp.c b/ddb/db_mp.c index dc29413..1785e4d 100644 --- a/ddb/db_mp.c +++ b/ddb/db_mp.c @@ -276,7 +276,7 @@ lock_db() if (my_cpu == master_cpu) { db_console(); } -#endif +#endif /* CONSOLE_ON_MASTER */ if (db_cpu != -1 && db_cpu != my_cpu) continue; @@ -288,9 +288,9 @@ lock_db() else { simple_lock(&db_lock); } -#else +#else /* CONSOLE_ON_MASTER */ simple_lock(&db_lock); -#endif +#endif /* CONSOLE_ON_MASTER */ if (db_cpu == -1 || db_cpu == my_cpu) break; simple_unlock(&db_lock); |