Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/alpha/include Use __BITS() to define MDLWP_FP_C.



details:   https://anonhg.NetBSD.org/src/rev/2f3f067af140
branches:  trunk
changeset: 1022493:2f3f067af140
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Thu Jul 22 01:31:55 2021 +0000

description:
Use __BITS() to define MDLWP_FP_C.

diffstat:

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

diffs (18 lines):

diff -r af974d372846 -r 2f3f067af140 sys/arch/alpha/include/proc.h
--- a/sys/arch/alpha/include/proc.h     Thu Jul 22 00:47:55 2021 +0000
+++ b/sys/arch/alpha/include/proc.h     Thu Jul 22 01:31:55 2021 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: proc.h,v 1.22 2014/05/16 19:18:21 matt Exp $ */
+/* $NetBSD: proc.h,v 1.23 2021/07/22 01:31:55 thorpej Exp $ */
 
 /*
  * Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -61,7 +61,7 @@
  *     C99 API's, the use of the MDLWP_FP_C bits is defined variously in
  *     ieeefp.h and fpu.h.
  */
-#define        MDLWP_FP_C      0x007ffffe      /* Extended FP_C Quadword bits */
+#define        MDLWP_FP_C      __BITS(1,22)    /* Extended FP_C Quadword bits */
 #define        MDLWP_FPACTIVE  __BIT(63)       /* FPU is active on LWP's PCU CPU */
 
 /*



Home | Main Index | Thread Index | Old Index