From 1ea5fdd017a6f44f5459c5439ecc9600c931a95b Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 8 Nov 2006 20:59:52 +0000 Subject: [PATCH] Add a missing #undef to properly compile atomic.c functions into the kernel so modules can access them. --- sys/cpu/i386/misc/atomic.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/cpu/i386/misc/atomic.c b/sys/cpu/i386/misc/atomic.c index df59faf22f..bc6fb7d517 100644 --- a/sys/cpu/i386/misc/atomic.c +++ b/sys/cpu/i386/misc/atomic.c @@ -24,7 +24,7 @@ * SUCH DAMAGE. * * $FreeBSD: src/sys/i386/i386/atomic.c,v 1.3 1999/08/28 00:43:40 peter Exp $ - * $DragonFly: src/sys/cpu/i386/misc/atomic.c,v 1.2 2003/06/17 04:28:35 dillon Exp $ + * $DragonFly: src/sys/cpu/i386/misc/atomic.c,v 1.3 2006/11/08 20:59:52 dillon Exp $ */ /* This file creates publically callable functions to perform various @@ -37,6 +37,7 @@ #define KLD_MODULE #include #undef _MACHINE_ATOMIC_H_ /* forget we included it */ +#undef _CPU_ATOMIC_H_ /* forget we included it */ #undef KLD_MODULE #undef ATOMIC_ASM -- 2.41.0