Ignore:
File:
1 edited

Legend:

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

    r9d58539 r8e3ed06  
    3838#include <mm/tlb.h>
    3939#include <synch/spinlock.h>
     40#include <synch/rcu_types.h>
    4041#include <proc/scheduler.h>
    4142#include <arch/cpu.h>
    4243#include <arch/context.h>
     44#include <adt/list.h>
     45#include <arch.h>
     46
     47#define CPU                  THE->cpu
     48
    4349
    4450/** CPU structure.
     
    94100       
    95101        /**
     102         * SMP calls to invoke on this CPU.
     103         */
     104        SPINLOCK_DECLARE(smp_calls_lock);
     105        list_t smp_pending_calls;
     106       
     107        /** RCU per-cpu data. Uses own locking. */
     108        rcu_cpu_data_t rcu;
     109       
     110        /**
    96111         * Stack used by scheduler when there is no running thread.
    97112         */
Note: See TracChangeset for help on using the changeset viewer.