From 66b2ec5ff70d3ae008b795aec67ce4d22457f876 Mon Sep 17 00:00:00 2001 From: yamt Date: Thu, 13 May 2004 20:30:39 +0000 Subject: [PATCH] fix a compile error in the case DDB && !GPROF. the problem pointed by Jaka Jejcic on current-users@ and by several others privately. --- sys/arch/i386/include/asm.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/sys/arch/i386/include/asm.h b/sys/arch/i386/include/asm.h index af6d0ce47f77..0f822d373072 100644 --- a/sys/arch/i386/include/asm.h +++ b/sys/arch/i386/include/asm.h @@ -1,4 +1,4 @@ -/* $NetBSD: asm.h,v 1.27 2004/05/13 12:27:38 yamt Exp $ */ +/* $NetBSD: asm.h,v 1.28 2004/05/13 20:30:39 yamt Exp $ */ /*- * Copyright (c) 1990 The Regents of the University of California. @@ -139,6 +139,8 @@ #else /* __ELF__ */ #define MCOUNT_ASM call _C_LABEL(mcount) #endif /* __ELF__ */ +#else /* GPROF */ +#define MCOUNT_ASM /* nothing */ #endif /* GPROF */ #endif /* _KERNEL */