Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/synch/rcu.h

    r63e27ef ree34275  
    3636#define KERN_RCU_H_
    3737
    38 #include <assert.h>
    3938#include <synch/rcu_types.h>
    4039#include <compiler/barrier.h>
     
    163162static inline void _rcu_record_qs(void)
    164163{
    165         assert(PREEMPTION_DISABLED || interrupts_disabled());
     164        ASSERT(PREEMPTION_DISABLED || interrupts_disabled());
    166165       
    167166        /*
     
    208207static inline void rcu_read_lock(void)
    209208{
    210         assert(CPU);
     209        ASSERT(CPU);
    211210        preemption_disable();
    212211
     
    223222static inline void rcu_read_unlock(void)
    224223{
    225         assert(CPU);
     224        ASSERT(CPU);
    226225        preemption_disable();
    227226       
Note: See TracChangeset for help on using the changeset viewer.