Module Name: src Committed By: kamil Date: Mon Feb 25 13:19:14 UTC 2019
Modified Files: src/sys/sys: kcov.h Log Message: Fix typo in kcov.h Should fix i386. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/sys/sys/kcov.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/sys/kcov.h diff -u src/sys/sys/kcov.h:1.2 src/sys/sys/kcov.h:1.3 --- src/sys/sys/kcov.h:1.2 Sun Feb 24 21:14:43 2019 +++ src/sys/sys/kcov.h Mon Feb 25 13:19:14 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: kcov.h,v 1.2 2019/02/24 21:14:43 kamil Exp $ */ +/* $NetBSD: kcov.h,v 1.3 2019/02/25 13:19:14 kamil Exp $ */ /* * Copyright (c) 2019 The NetBSD Foundation, Inc. @@ -54,7 +54,7 @@ typedef volatile uint64_t kcov_int_t; #define KCOV_STORE(x,v) __atomic_store_n(&(x), (v), __ATOMIC_RELAXED) #define KCOV_LOAD(x) __atomic_load_n(&(x), __ATOMIC_RELAXED) #else -#define KCOV_STORE(x,v) (x) = (y) +#define KCOV_STORE(x,v) (x) = (v) #define KCOV_LOAD(x) (x) #endif