From 1e065e6132f41c47f25271900ddf1fd0f013c439 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Tue, 11 Nov 2003 04:02:54 +0000 Subject: [PATCH] dbg_register_file[][] now reserves space for SMP_MAX_CPUS CPUs, not only 2. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5309 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/core/debug.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kernel/core/debug.c b/src/kernel/core/debug.c index eb2cce41f5..b41fa7bcbb 100644 --- a/src/kernel/core/debug.c +++ b/src/kernel/core/debug.c @@ -33,7 +33,8 @@ typedef struct debugger_command { const char *description; } debugger_command; -int dbg_register_file[2][14]; /* XXXmpetit -- must be made generic */ +int dbg_register_file[SMP_MAX_CPUS][14]; + /* XXXmpetit -- must be made generic */ static bool sSerialDebugEnabled = false; static spinlock dbg_spinlock = 0;