diff options
author | Damien Zammit <damien@zamaudio.com> | 2023-07-22 12:59:40 +1000 |
---|---|---|
committer | Damien Zammit <damien@zamaudio.com> | 2023-07-22 14:15:35 +1000 |
commit | 775fec7e52fb51fde4bb634990b796646358a6c9 (patch) | |
tree | b8abbe7a3f8234bb46f28be474fe3a7d02582c8c | |
parent | bdcafee412ab6eec58f6b315e16e57fe3dad002f (diff) |
db_interface: Don't call db_on if MACH_KDB is offfix-kdb
Allows building of gnumach with --disable-kdb and --enable-ncpus > 1
-rw-r--r-- | i386/i386/db_interface.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i386/i386/db_interface.c b/i386/i386/db_interface.c index 5a4ace9f..06cbd5e0 100644 --- a/i386/i386/db_interface.c +++ b/i386/i386/db_interface.c @@ -100,7 +100,7 @@ void db_load_context(pcb_t pcb) } void cpu_interrupt_to_db(int i){ -#if NCPUS > 1 +#if MACH_KDB && NCPUS > 1 db_on(i); #endif } |