Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions
nodepda.h File Reference
#include <asm/irq.h>
#include <asm/sn/arch.h>
#include <asm/sn/intr.h>
#include <asm/sn/bte.h>

Go to the source code of this file.

Data Structures

struct  phys_cpuid
 
struct  nodepda_s
 

Macros

#define sn_nodepda   (__get_cpu_var(__sn_nodepda))
 
#define NODEPDA(cnodeid)   (sn_nodepda->pernode_pdaindr[cnodeid])
 
#define is_headless_node(cnodeid)   (nr_cpus_node(cnodeid) == 0)
 

Typedefs

typedef struct nodepda_s nodepda_t
 

Functions

 DECLARE_PER_CPU (struct nodepda_s *, __sn_nodepda)
 

Macro Definition Documentation

#define is_headless_node (   cnodeid)    (nr_cpus_node(cnodeid) == 0)

Definition at line 80 of file nodepda.h.

#define NODEPDA (   cnodeid)    (sn_nodepda->pernode_pdaindr[cnodeid])

Definition at line 74 of file nodepda.h.

#define sn_nodepda   (__get_cpu_var(__sn_nodepda))

Definition at line 73 of file nodepda.h.

Typedef Documentation

Definition at line 59 of file nodepda.h.

Function Documentation

DECLARE_PER_CPU ( struct nodepda_s ,
__sn_nodepda   
)