diff options
Diffstat (limited to 'ddb')
-rw-r--r-- | ddb/db_mp.c | 4 | ||||
-rw-r--r-- | ddb/db_mp.h | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ddb/db_mp.c b/ddb/db_mp.c index b99718e..3dfef09 100644 --- a/ddb/db_mp.c +++ b/ddb/db_mp.c @@ -303,7 +303,7 @@ unlock_db() simple_unlock(&db_lock); } -#ifdef sketch +#if CONSOLE_ON_MASTER void db_console() { @@ -326,7 +326,7 @@ db_console() db_cpu = my_cpu; } } -#endif /* sketch */ +#endif /* CONSOLE_ON_MASTER */ #endif /* NCPUS > 1 */ diff --git a/ddb/db_mp.h b/ddb/db_mp.h index a163d99..722f28c 100644 --- a/ddb/db_mp.h +++ b/ddb/db_mp.h @@ -23,4 +23,8 @@ void remote_db(void); void lock_db(void); void unlock_db(void); +#if CONSOLE_ON_MASTER +void db_console(void); +#endif /* CONSOLE_ON_MASTER */ + #endif /* _DDB_DB_MP_H_ */ |