Source-Changes-HG archive

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

[src/sommerfeld_i386mp_1]: src/sys/arch/i386/include Lint.



details:   https://anonhg.NetBSD.org/src/rev/5839a7e79ccd
branches:  sommerfeld_i386mp_1
changeset: 482522:5839a7e79ccd
user:      sommerfeld <sommerfeld%NetBSD.org@localhost>
date:      Fri May 03 13:40:52 2002 +0000

description:
Lint.

diffstat:

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

diffs (18 lines):

diff -r b07dfdabfc81 -r 5839a7e79ccd sys/arch/i386/include/atomic.h
--- a/sys/arch/i386/include/atomic.h    Fri May 03 13:40:17 2002 +0000
+++ b/sys/arch/i386/include/atomic.h    Fri May 03 13:40:52 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: atomic.h,v 1.1.2.5 2001/12/11 23:52:07 sommerfeld Exp $ */
+/* $NetBSD: atomic.h,v 1.1.2.6 2002/05/03 13:40:52 sommerfeld Exp $ */
 
 /*-
  * Copyright (c) 2000 The NetBSD Foundation, Inc.
@@ -43,7 +43,7 @@
 
 #ifndef _LOCORE
 
-static __inline u_int32_t
+static __inline unsigned long
 i386_atomic_testset_ul (volatile u_int32_t *ptr, unsigned long val) {
     __asm__ volatile ("xchgl %0,(%2)" :"=r" (val):"0" (val),"r" (ptr));
     return val;



Home | Main Index | Thread Index | Old Index