Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/amd64/include make this compile.



details:   https://anonhg.NetBSD.org/src/rev/19427a8d9102
branches:  trunk
changeset: 934235:19427a8d9102
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jun 07 23:15:51 2020 +0000

description:
make this compile.

diffstat:

 sys/arch/amd64/include/msan.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4ecf85cddbd7 -r 19427a8d9102 sys/arch/amd64/include/msan.h
--- a/sys/arch/amd64/include/msan.h     Sun Jun 07 23:09:34 2020 +0000
+++ b/sys/arch/amd64/include/msan.h     Sun Jun 07 23:15:51 2020 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: msan.h,v 1.3 2020/04/25 15:26:16 bouyer Exp $  */
+/*     $NetBSD: msan.h,v 1.4 2020/06/07 23:15:51 christos Exp $        */
 
 /*
  * Copyright (c) 2019 The NetBSD Foundation, Inc.
@@ -142,7 +142,7 @@
                        L2_BASE[pl2_i(va)] = pa | pteflags | PTE_PS |
                            pmap_pg_g;
                        __insn_barrier();
-                       __builtin_memset(va, 0, NBPD_L2);
+                       __builtin_memset((void *)va, 0, NBPD_L2);
                        return;
                }
                pa = __md_palloc();



Home | Main Index | Thread Index | Old Index