Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
cpu.h File Reference
#include <linux/device.h>
#include <linux/cpu.h>
#include <linux/topology.h>
#include <linux/nodemask.h>
#include <linux/percpu.h>

Go to the source code of this file.

Data Structures

struct  x86_cpu
 

Macros

#define cpu_physical_id(cpu)   boot_cpu_physical_apicid
 
#define safe_smp_processor_id()   0
 
#define stack_smp_processor_id()   0
 

Functions

 DECLARE_PER_CPU (int, cpu_state)
 
int mwait_usable (const struct cpuinfo_x86 *)
 

Macro Definition Documentation

#define cpu_physical_id (   cpu)    boot_cpu_physical_apicid

Definition at line 18 of file cpu.h.

#define safe_smp_processor_id ( )    0

Definition at line 19 of file cpu.h.

#define stack_smp_processor_id ( )    0

Definition at line 20 of file cpu.h.

Function Documentation

DECLARE_PER_CPU ( int  ,
cpu_state   
)
int mwait_usable ( const struct cpuinfo_x86 )

Definition at line 517 of file process.c.