Diff for /src/sys/i386/include/Attic/lock.h between versions 1.6 and 1.7

version 1.6, 2003/08/07 21:17:22 version 1.7, 2003/12/04 20:09:33
Line 166  spin_lock_init(spinlock_t lock) Line 166  spin_lock_init(spinlock_t lock)
         lock->opaque = 0;          lock->opaque = 0;
 }  }
   
   #endif  /* _KERNEL */
   
   #if defined(_KERNEL) || defined(_UTHREAD)
   
 /*  /*
  * MP LOCK functions for SMP and UP.  Under UP the MP lock does not exist   * MP LOCK functions for SMP and UP.  Under UP the MP lock does not exist
  * but we leave a few functions intact as macros for convenience.   * but we leave a few functions intact as macros for convenience.
Line 176  void get_mplock(void); Line 180  void get_mplock(void);
 int     try_mplock(void);  int     try_mplock(void);
 void    rel_mplock(void);  void    rel_mplock(void);
 int     cpu_try_mplock(void);  int     cpu_try_mplock(void);
 #if 0  
 void    cpu_rel_mplock(void);  
 #endif  
 void    cpu_get_initial_mplock(void);  void    cpu_get_initial_mplock(void);
   
 extern u_int    mp_lock;  extern u_int    mp_lock;
Line 200  cpu_rel_mplock(void) Line 201  cpu_rel_mplock(void)
 #define ASSERT_MP_LOCK_HELD()  #define ASSERT_MP_LOCK_HELD()
   
 #endif  /* SMP */  #endif  /* SMP */
#endif  /* _KERNEL */#endif  /* _KERNEL || _UTHREAD */
 #endif  /* LOCORE */  #endif  /* LOCORE */
 #endif  /* !_MACHINE_LOCK_H_ */  #endif  /* !_MACHINE_LOCK_H_ */

Removed from v.1.6  
changed lines
  Added in v.1.7