Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/mips/rmi PR 51384 David Binderman: don't shift into...



details:   https://anonhg.NetBSD.org/src/rev/1daaa62be374
branches:  trunk
changeset: 816905:1daaa62be374
user:      dholland <dholland%NetBSD.org@localhost>
date:      Mon Aug 01 18:09:50 2016 +0000

description:
PR 51384 David Binderman: don't shift into the void

diffstat:

 sys/arch/mips/rmi/rmixl_intr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 4401f0b3bf4e -r 1daaa62be374 sys/arch/mips/rmi/rmixl_intr.c
--- a/sys/arch/mips/rmi/rmixl_intr.c    Mon Aug 01 16:07:39 2016 +0000
+++ b/sys/arch/mips/rmi/rmixl_intr.c    Mon Aug 01 18:09:50 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: rmixl_intr.c,v 1.10 2016/04/23 10:15:30 skrll Exp $    */
+/*     $NetBSD: rmixl_intr.c,v 1.11 2016/08/01 18:09:50 dholland Exp $ */
 
 /*-
  * Copyright (c) 2007 Ruslan Ermilov and Vsevolod Lobko.
@@ -64,7 +64,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: rmixl_intr.c,v 1.10 2016/04/23 10:15:30 skrll Exp $");
+__KERNEL_RCSID(0, "$NetBSD: rmixl_intr.c,v 1.11 2016/08/01 18:09:50 dholland Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -978,7 +978,7 @@
 rmixl_ipi_intr(void *arg)
 {
        struct cpu_info * const ci = curcpu();
-       const uint64_t ipi_mask = 1 << (uintptr_t)arg;
+       const uint64_t ipi_mask = 1ULL << (uintptr_t)arg;
 
        KASSERT(ci->ci_cpl >= IPL_SCHED);
        KASSERT((uintptr_t)arg < NIPIS);



Home | Main Index | Thread Index | Old Index