Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
smp.h File Reference
#include <linux/cpumask.h>

Go to the source code of this file.

Macros

#define raw_smp_processor_id()   (current_thread_info()->cpu)
 

Enumerations

enum  ipi_message_type {
  IPI_RESCHEDULE, IPI_CALL_FUNC, IPI_CALL_FUNC_SINGLE, IPI_CPU_STOP,
  BFIN_IPI_TIMER, BFIN_IPI_RESCHEDULE, BFIN_IPI_CALL_FUNC, BFIN_IPI_CALL_FUNC_SINGLE,
  BFIN_IPI_CPU_STOP, IPI_NOP = 0, IPI_RESCHEDULE = 1, IPI_CALL_FUNC,
  IPI_CALL_FUNC_SINGLE, IPI_CPU_STOP, IPI_TIMER, IPI_NOP =0,
  IPI_RESCHEDULE =1, IPI_CALL_FUNC, IPI_CALL_FUNC_SINGLE, IPI_CPU_START,
  IPI_CPU_STOP, IPI_CPU_TEST
}
 

Functions

void send_ipi (const struct cpumask *cpumask, enum ipi_message_type msg)
 
void smp_start_cpus (void)
 
void arch_send_call_function_single_ipi (int cpu)
 
void arch_send_call_function_ipi_mask (const struct cpumask *mask)
 
void smp_vm_unmask_irq (void *info)
 

Macro Definition Documentation

#define raw_smp_processor_id ( )    (current_thread_info()->cpu)

Definition at line 26 of file smp.h.

Enumeration Type Documentation

Enumerator:
IPI_RESCHEDULE 
IPI_CALL_FUNC 
IPI_CALL_FUNC_SINGLE 
IPI_CPU_STOP 
BFIN_IPI_TIMER 
BFIN_IPI_RESCHEDULE 
BFIN_IPI_CALL_FUNC 
BFIN_IPI_CALL_FUNC_SINGLE 
BFIN_IPI_CPU_STOP 
IPI_NOP 
IPI_RESCHEDULE 
IPI_CALL_FUNC 
IPI_CALL_FUNC_SINGLE 
IPI_CPU_STOP 
IPI_TIMER 
IPI_NOP 
IPI_RESCHEDULE 
IPI_CALL_FUNC 
IPI_CALL_FUNC_SINGLE 
IPI_CPU_START 
IPI_CPU_STOP 
IPI_CPU_TEST 

Definition at line 28 of file smp.h.

Function Documentation

void arch_send_call_function_ipi_mask ( const struct cpumask mask)

Definition at line 629 of file smp.c.

void arch_send_call_function_single_ipi ( int  cpu)

Definition at line 634 of file smp.c.

void send_ipi ( const struct cpumask cpumask,
enum ipi_message_type  msg 
)

Definition at line 191 of file smp.c.

void smp_start_cpus ( void  )

Definition at line 264 of file smp.c.

void smp_vm_unmask_irq ( void info)

Definition at line 86 of file smp.c.