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

Go to the source code of this file.

Data Structures

struct  secondary_data
 
struct  smp_operations
 

Macros

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

Functions

void show_ipi_list (struct seq_file *, int)
 
asmlinkage void do_IPI (int ipinr, struct pt_regs *regs)
 
void handle_IPI (int ipinr, struct pt_regs *regs)
 
void smp_init_cpus (void)
 
void set_smp_cross_call (void(*)(const struct cpumask *, unsigned int))
 
int boot_secondary (unsigned int cpu, struct task_struct *)
 
asmlinkage void secondary_start_kernel (void)
 
int __cpu_disable (void)
 
void __cpu_die (unsigned int cpu)
 
void cpu_die (void)
 
void arch_send_call_function_single_ipi (int cpu)
 
void arch_send_call_function_ipi_mask (const struct cpumask *mask)
 
void smp_set_ops (struct smp_operations *)
 

Variables

struct secondary_data secondary_data
 
volatile int pen_release
 

Macro Definition Documentation

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

Definition at line 21 of file smp.h.

Function Documentation

void __cpu_die ( unsigned int  cpu)
int __cpu_disable ( void  )
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.

int boot_secondary ( unsigned int  cpu,
struct task_struct  
)

Definition at line 140 of file smp.c.

void cpu_die ( void  )

Definition at line 86 of file smp.c.

asmlinkage void do_IPI ( int  ipinr,
struct pt_regs regs 
)

Definition at line 574 of file smp.c.

void handle_IPI ( int  ipinr,
struct pt_regs regs 
)

Definition at line 579 of file smp.c.

asmlinkage void secondary_start_kernel ( void  )

Definition at line 294 of file smp.c.

void set_smp_cross_call ( void(*)(const struct cpumask *, unsigned int )

Definition at line 414 of file smp.c.

void show_ipi_list ( struct seq_file ,
int   
)

Definition at line 439 of file smp.c.

void smp_init_cpus ( void  )

Definition at line 122 of file smp.c.

void smp_set_ops ( struct smp_operations )

Definition at line 75 of file smp.c.

Variable Documentation

volatile int pen_release

Definition at line 60 of file smp.c.

Definition at line 54 of file smp.c.