Source-Changes-HG archive

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

[src/trunk]: src/sys/external/bsd/drm2/include/asm Use ufetch(9) instead of r...



details:   https://anonhg.NetBSD.org/src/rev/d1d141c41274
branches:  trunk
changeset: 1028119:d1d141c41274
user:      riastradh <riastradh%NetBSD.org@localhost>
date:      Sun Dec 19 01:55:14 2021 +0000

description:
Use ufetch(9) instead of removed subyte.


Author: Maya Rashish <maya%NetBSD.org@localhost>

diffstat:

 sys/external/bsd/drm2/include/asm/uaccess.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 4ecc84a8fb4a -r d1d141c41274 sys/external/bsd/drm2/include/asm/uaccess.h
--- a/sys/external/bsd/drm2/include/asm/uaccess.h       Sun Dec 19 01:55:05 2021 +0000
+++ b/sys/external/bsd/drm2/include/asm/uaccess.h       Sun Dec 19 01:55:14 2021 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: uaccess.h,v 1.6 2021/12/19 01:39:41 riastradh Exp $    */
+/*     $NetBSD: uaccess.h,v 1.7 2021/12/19 01:55:14 riastradh Exp $    */
 
 /*-
  * Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -95,7 +95,7 @@
         * out an int.
         */
        while (n --> 0) {
-               if (subyte(p, 0) != 0)
+               if (ustore_char(p, 0) != 0)
                        return ++n;
        }
 



Home | Main Index | Thread Index | Old Index