Module Name:    src
Committed By:   skrll
Date:           Wed Jan 22 10:52:35 UTC 2020

Modified Files:
        src/sys/arch/arm/arm: arm_machdep.c

Log Message:
Oops, the cast is required


To generate a diff of this commit:
cvs rdiff -u -r1.61 -r1.62 src/sys/arch/arm/arm/arm_machdep.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/arm/arm/arm_machdep.c
diff -u src/sys/arch/arm/arm/arm_machdep.c:1.61 src/sys/arch/arm/arm/arm_machdep.c:1.62
--- src/sys/arch/arm/arm/arm_machdep.c:1.61	Tue Jan 21 04:59:47 2020
+++ src/sys/arch/arm/arm/arm_machdep.c	Wed Jan 22 10:52:35 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: arm_machdep.c,v 1.61 2020/01/21 04:59:47 skrll Exp $	*/
+/*	$NetBSD: arm_machdep.c,v 1.62 2020/01/22 10:52:35 skrll Exp $	*/
 
 /*
  * Copyright (c) 2001 Wasabi Systems, Inc.
@@ -80,7 +80,7 @@
 
 #include <sys/param.h>
 
-__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.61 2020/01/21 04:59:47 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: arm_machdep.c,v 1.62 2020/01/22 10:52:35 skrll Exp $");
 
 #include <sys/atomic.h>
 #include <sys/cpu.h>
@@ -309,7 +309,7 @@ cpu_kpreempt_enter(uintptr_t where, int 
 void
 cpu_kpreempt_exit(uintptr_t where)
 {
-	atomic_and_uint(&curcpu()->ci_astpending, ~__BIT(1));
+	atomic_and_uint(&curcpu()->ci_astpending, (unsigned int)~__BIT(1));
 }
 
 bool

Reply via email to