Source-Changes-HG archive

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

[src/trunk]: src/sys/uvm Don't include "opt_kasan.h" when there's already <sy...



details:   https://anonhg.NetBSD.org/src/rev/b1bc8f726c7e
branches:  trunk
changeset: 966761:b1bc8f726c7e
user:      maxv <maxv%NetBSD.org@localhost>
date:      Thu Nov 14 16:48:51 2019 +0000

description:
Don't include "opt_kasan.h" when there's already <sys/asan.h> included.

diffstat:

 sys/arch/aarch64/aarch64/aarch64_machdep.c |  5 ++---
 sys/arch/aarch64/aarch64/pmap.c            |  5 ++---
 sys/arch/amd64/amd64/machdep.c             |  5 ++---
 sys/uvm/uvm_glue.c                         |  5 ++---
 4 files changed, 8 insertions(+), 12 deletions(-)

diffs (93 lines):

diff -r a189a9054dca -r b1bc8f726c7e sys/arch/aarch64/aarch64/aarch64_machdep.c
--- a/sys/arch/aarch64/aarch64/aarch64_machdep.c        Thu Nov 14 16:27:26 2019 +0000
+++ b/sys/arch/aarch64/aarch64/aarch64_machdep.c        Thu Nov 14 16:48:51 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: aarch64_machdep.c,v 1.32 2019/09/28 07:06:32 skrll Exp $ */
+/* $NetBSD: aarch64_machdep.c,v 1.33 2019/11/14 16:48:51 maxv Exp $ */
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -30,11 +30,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.32 2019/09/28 07:06:32 skrll Exp $");
+__KERNEL_RCSID(1, "$NetBSD: aarch64_machdep.c,v 1.33 2019/11/14 16:48:51 maxv Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
-#include "opt_kasan.h"
 #include "opt_kernhist.h"
 #include "opt_modular.h"
 #include "opt_fdt.h"
diff -r a189a9054dca -r b1bc8f726c7e sys/arch/aarch64/aarch64/pmap.c
--- a/sys/arch/aarch64/aarch64/pmap.c   Thu Nov 14 16:27:26 2019 +0000
+++ b/sys/arch/aarch64/aarch64/pmap.c   Thu Nov 14 16:48:51 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pmap.c,v 1.48 2019/10/29 20:01:22 maya Exp $   */
+/*     $NetBSD: pmap.c,v 1.49 2019/11/14 16:48:51 maxv Exp $   */
 
 /*
  * Copyright (c) 2017 Ryo Shimizu <ryo%nerv.org@localhost>
@@ -27,11 +27,10 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.48 2019/10/29 20:01:22 maya Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pmap.c,v 1.49 2019/11/14 16:48:51 maxv Exp $");
 
 #include "opt_arm_debug.h"
 #include "opt_ddb.h"
-#include "opt_kasan.h"
 #include "opt_multiprocessor.h"
 #include "opt_pmap.h"
 #include "opt_uvmhist.h"
diff -r a189a9054dca -r b1bc8f726c7e sys/arch/amd64/amd64/machdep.c
--- a/sys/arch/amd64/amd64/machdep.c    Thu Nov 14 16:27:26 2019 +0000
+++ b/sys/arch/amd64/amd64/machdep.c    Thu Nov 14 16:48:51 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: machdep.c,v 1.339 2019/11/14 16:23:52 maxv Exp $       */
+/*     $NetBSD: machdep.c,v 1.340 2019/11/14 16:48:51 maxv Exp $       */
 
 /*
  * Copyright (c) 1996, 1997, 1998, 2000, 2006, 2007, 2008, 2011
@@ -110,7 +110,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.339 2019/11/14 16:23:52 maxv Exp $");
+__KERNEL_RCSID(0, "$NetBSD: machdep.c,v 1.340 2019/11/14 16:48:51 maxv Exp $");
 
 #include "opt_modular.h"
 #include "opt_user_ldt.h"
@@ -122,7 +122,6 @@
 #include "opt_xen.h"
 #include "opt_svs.h"
 #include "opt_kaslr.h"
-#include "opt_kasan.h"
 #ifndef XENPV
 #include "opt_physmem.h"
 #endif
diff -r a189a9054dca -r b1bc8f726c7e sys/uvm/uvm_glue.c
--- a/sys/uvm/uvm_glue.c        Thu Nov 14 16:27:26 2019 +0000
+++ b/sys/uvm/uvm_glue.c        Thu Nov 14 16:48:51 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uvm_glue.c,v 1.168 2019/05/08 16:00:01 chs Exp $       */
+/*     $NetBSD: uvm_glue.c,v 1.169 2019/11/14 16:48:51 maxv Exp $      */
 
 /*
  * Copyright (c) 1997 Charles D. Cranor and Washington University.
@@ -62,12 +62,11 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: uvm_glue.c,v 1.168 2019/05/08 16:00:01 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: uvm_glue.c,v 1.169 2019/11/14 16:48:51 maxv Exp $");
 
 #include "opt_kgdb.h"
 #include "opt_kstack.h"
 #include "opt_uvmhist.h"
-#include "opt_kasan.h"
 
 /*
  * uvm_glue.c: glue functions



Home | Main Index | Thread Index | Old Index