Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/cpu.h

    rf3dbe27 rdaadfa6  
    5151 */
    5252typedef struct cpu {
    53         IRQ_SPINLOCK_DECLARE(tlb_lock);
     53        IRQ_SPINLOCK_DECLARE(lock);
    5454
    5555        tlb_shootdown_msg_t tlb_messages[TLB_MESSAGE_QUEUE_LEN];
     
    8181        bool idle;
    8282        uint64_t last_cycle;
    83         atomic_time_stat_t idle_cycles;
    84         atomic_time_stat_t busy_cycles;
     83        uint64_t idle_cycles;
     84        uint64_t busy_cycles;
    8585
    8686        /**
     
    9797        cpu_arch_t arch;
    9898
    99 #ifdef CONFIG_FPU_LAZY
    100         /* For synchronization between FPU trap and thread destructor. */
    101         IRQ_SPINLOCK_DECLARE(fpu_lock);
    102 #endif
    103         _Atomic(struct thread *) fpu_owner;
     99        struct thread *fpu_owner;
    104100
    105101        /**
Note: See TracChangeset for help on using the changeset viewer.