Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/kern Conditionalize inclusion of kasan.h so that rump ca...



details:   https://anonhg.NetBSD.org/src/rev/9b86324f5360
branches:  trunk
changeset: 365545:9b86324f5360
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Tue Aug 21 01:25:57 2018 +0000

description:
Conditionalize inclusion of kasan.h so that rump can build.

diffstat:

 sys/kern/kern_malloc.c |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (22 lines):

diff -r 0c63492e571f -r 9b86324f5360 sys/kern/kern_malloc.c
--- a/sys/kern/kern_malloc.c    Mon Aug 20 20:45:52 2018 +0000
+++ b/sys/kern/kern_malloc.c    Tue Aug 21 01:25:57 2018 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_malloc.c,v 1.148 2018/08/20 15:04:52 maxv Exp $   */
+/*     $NetBSD: kern_malloc.c,v 1.149 2018/08/21 01:25:57 pgoyette Exp $       */
 
 /*
  * Copyright (c) 1987, 1991, 1993
@@ -70,9 +70,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_malloc.c,v 1.148 2018/08/20 15:04:52 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_malloc.c,v 1.149 2018/08/21 01:25:57 pgoyette Exp $");
 
+#ifdef _KERNEL_OPT
 #include "opt_kasan.h"
+#endif
 
 #include <sys/param.h>
 #include <sys/malloc.h>



Home | Main Index | Thread Index | Old Index