Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Decorate percpu_cpu_swap() with __noubsan



details:   https://anonhg.NetBSD.org/src/rev/c35a5eacf5b8
branches:  trunk
changeset: 454479:c35a5eacf5b8
user:      kamil <kamil%NetBSD.org@localhost>
date:      Wed Sep 18 15:33:32 2019 +0000

description:
Decorate percpu_cpu_swap() with __noubsan

diffstat:

 sys/kern/subr_percpu.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4aa52421b113 -r c35a5eacf5b8 sys/kern/subr_percpu.c
--- a/sys/kern/subr_percpu.c    Wed Sep 18 15:12:37 2019 +0000
+++ b/sys/kern/subr_percpu.c    Wed Sep 18 15:33:32 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: subr_percpu.c,v 1.18 2017/05/31 23:54:17 chs Exp $     */
+/*     $NetBSD: subr_percpu.c,v 1.19 2019/09/18 15:33:32 kamil Exp $   */
 
 /*-
  * Copyright (c)2007,2008 YAMAMOTO Takashi,
@@ -31,7 +31,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: subr_percpu.c,v 1.18 2017/05/31 23:54:17 chs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: subr_percpu.c,v 1.19 2019/09/18 15:33:32 kamil Exp $");
 
 #include <sys/param.h>
 #include <sys/cpu.h>
@@ -80,7 +80,7 @@
 /*
  * percpu_cpu_swap: crosscall handler for percpu_cpu_enlarge
  */
-
+__noubsan
 static void
 percpu_cpu_swap(void *p1, void *p2)
 {



Home | Main Index | Thread Index | Old Index