Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
smp.h File Reference

Go to the source code of this file.

Macros

#define smp_master_cpu   0
 
#define smp_height   1
 
#define smp_width   1
 
#define cpu_x(cpu)   0
 
#define cpu_y(cpu)   0
 
#define xy_to_cpu(x, y)   0
 
#define cpu_is_valid_lotar(cpu)   cpumask_test_cpu((cpu), &cpu_lotar_map)
 
#define cpu_cacheable(cpu)   cpumask_test_cpu((cpu), &cpu_cacheable_map)
 
#define cpulist_parse_crop(buf, dst)   __cpulist_parse_crop((buf), (dst), NR_CPUS)
 

Functions

int bitmap_parselist_crop (const char *bp, unsigned long *maskp, int nmaskbits)
 
void ipi_init (void)
 

Variables

struct cpumask cpu_lotar_map
 
struct cpumask cpu_cacheable_map
 
unsigned long start_cpu_function_addr
 

Macro Definition Documentation

#define cpu_cacheable (   cpu)    cpumask_test_cpu((cpu), &cpu_cacheable_map)

Definition at line 111 of file smp.h.

#define cpu_is_valid_lotar (   cpu)    cpumask_test_cpu((cpu), &cpu_lotar_map)

Definition at line 102 of file smp.h.

#define cpu_x (   cpu)    0

Definition at line 93 of file smp.h.

#define cpu_y (   cpu)    0

Definition at line 94 of file smp.h.

#define cpulist_parse_crop (   buf,
  dst 
)    __cpulist_parse_crop((buf), (dst), NR_CPUS)

Definition at line 126 of file smp.h.

#define smp_height   1

Definition at line 91 of file smp.h.

#define smp_master_cpu   0

Definition at line 90 of file smp.h.

#define smp_width   1

Definition at line 92 of file smp.h.

#define xy_to_cpu (   x,
  y 
)    0

Definition at line 95 of file smp.h.

Function Documentation

int bitmap_parselist_crop ( const char bp,
unsigned long maskp,
int  nmaskbits 
)

Definition at line 24 of file cpumask.c.

void ipi_init ( void  )

Definition at line 191 of file smp.c.

Variable Documentation

struct cpumask cpu_cacheable_map

Definition at line 1203 of file setup.c.

struct cpumask cpu_lotar_map

Definition at line 1179 of file setup.c.

unsigned long start_cpu_function_addr

Definition at line 36 of file smpboot.c.