|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
[PATCH] amd64 MP kernel cannot be compiled w/o DDB
From: Mike Belopuhov (mkb
crypt.org.ru)
Date: Thu Mar 22 2007 - 06:35:41 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
Please find below a simple patch that fixes compilation
of AMD64 MP kernels w/o option DDB.
Thanks.
Index: arch/amd64/amd64/ipifuncs.c
===================================================================
RCS file: /cvs/src/sys/arch/amd64/amd64/ipifuncs.c,v
retrieving revision 1.4
diff -d -u -r1.4 ipifuncs.c
--- arch/amd64/amd64/ipifuncs.c 2007/02/01 20:39:42 1.4
+++ arch/amd64/amd64/ipifuncs.c 2007/03/17 03:52:25

-86,7 +86,11 
pmap_do_tlb_shootdown,
x86_64_reload_mtrr,
gdt_reload_cpu,
+#ifdef DDB
x86_ipi_db,
+#else
+ NULL,
+#endif
};
void
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]