Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/amd64/amd64 Since cpu_in_cksum.S can be built outsi...
details: https://anonhg.NetBSD.org/src/rev/0276d190ba64
branches: trunk
changeset: 461086:0276d190ba64
user: maxv <maxv%NetBSD.org@localhost>
date: Fri Nov 15 09:50:01 2019 +0000
description:
Since cpu_in_cksum.S can be built outside of the kernel, add an ugly #ifdef
_KERNEL for kMSan.
diffstat:
sys/arch/amd64/amd64/cpu_in_cksum.S | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r 48d1bc8955f1 -r 0276d190ba64 sys/arch/amd64/amd64/cpu_in_cksum.S
--- a/sys/arch/amd64/amd64/cpu_in_cksum.S Fri Nov 15 09:44:44 2019 +0000
+++ b/sys/arch/amd64/amd64/cpu_in_cksum.S Fri Nov 15 09:50:01 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: cpu_in_cksum.S,v 1.4 2019/11/14 16:23:52 maxv Exp $ */
+/* $NetBSD: cpu_in_cksum.S,v 1.5 2019/11/15 09:50:01 maxv Exp $ */
/*-
* Copyright (c) 2008 Joerg Sonnenberger <joerg%NetBSD.org@localhost>.
@@ -30,7 +30,11 @@
*/
#include <machine/asm.h>
+#ifdef _KERNEL
#include <machine/frameasm.h>
+#else
+#define KMSAN_INIT_RET(sz) /* nothing */
+#endif
#include "assym.h"
ENTRY(cpu_in_cksum)
Home |
Main Index |
Thread Index |
Old Index