Module Name: src Committed By: skrll Date: Mon Jul 16 06:33:05 UTC 2012
Modified Files: src/sys/arch/arm/arm32: arm32_machdep.c Log Message: Make the result from SOFTIPLMASK match the comment. "Wouldn't hurt" from matt@ To generate a diff of this commit: cvs rdiff -u -r1.77 -r1.78 src/sys/arch/arm/arm32/arm32_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/arm32/arm32_machdep.c diff -u src/sys/arch/arm/arm32/arm32_machdep.c:1.77 src/sys/arch/arm/arm32/arm32_machdep.c:1.78 --- src/sys/arch/arm/arm32/arm32_machdep.c:1.77 Mon Jul 16 06:26:43 2012 +++ src/sys/arch/arm/arm32/arm32_machdep.c Mon Jul 16 06:33:05 2012 @@ -1,4 +1,4 @@ -/* $NetBSD: arm32_machdep.c,v 1.77 2012/07/16 06:26:43 skrll Exp $ */ +/* $NetBSD: arm32_machdep.c,v 1.78 2012/07/16 06:33:05 skrll Exp $ */ /* * Copyright (c) 1994-1998 Mark Brinicombe. @@ -42,7 +42,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.77 2012/07/16 06:26:43 skrll Exp $"); +__KERNEL_RCSID(0, "$NetBSD: arm32_machdep.c,v 1.78 2012/07/16 06:33:05 skrll Exp $"); #include "opt_modular.h" #include "opt_md.h" @@ -420,7 +420,7 @@ parse_mi_bootargs(char *args) * SOFTIPLMASK(IPL_SOFTNET) = 0x00000008 * SOFTIPLMASK(IPL_SOFTSERIAL) = 0x00000000 */ -#define SOFTIPLMASK(ipl) (0x0f << (ipl)) +#define SOFTIPLMASK(ipl) ((0x0f << (ipl)) & 0x0f) void softint_switch(lwp_t *, int);