Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
smp.c File Reference
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/irq.h>
#include <asm/mmu_context.h>
#include <asm/netlogic/interrupt.h>
#include <asm/netlogic/mips-extns.h>
#include <asm/netlogic/haldefs.h>
#include <asm/netlogic/common.h>

Go to the source code of this file.

Functions

void nlm_send_ipi_single (int logical_cpu, unsigned int action)
 
void nlm_send_ipi_mask (const struct cpumask *mask, unsigned int action)
 
void nlm_smp_function_ipi_handler (unsigned int irq, struct irq_desc *desc)
 
void nlm_smp_resched_ipi_handler (unsigned int irq, struct irq_desc *desc)
 
void nlm_early_init_secondary (int cpu)
 
void nlm_prepare_cpus (unsigned int max_cpus)
 
void nlm_smp_finish (void)
 
void nlm_cpus_done (void)
 
void nlm_boot_secondary (int logical_cpu, struct task_struct *idle)
 
void __init nlm_smp_setup (void)
 
int __cpuinit nlm_wakeup_secondary_cpus (u32 wakeup_mask)
 

Variables

int nlm_cpu_ready [NR_CPUS]
 
unsigned long nlm_next_gp
 
unsigned long nlm_next_sp
 
cpumask_t phys_cpu_present_map
 
struct plat_smp_ops nlm_smp_ops
 

Function Documentation

void nlm_boot_secondary ( int  logical_cpu,
struct task_struct idle 
)

Definition at line 143 of file smp.c.

void nlm_cpus_done ( void  )

Definition at line 129 of file smp.c.

void nlm_early_init_secondary ( int  cpu)

Definition at line 96 of file smp.c.

void nlm_prepare_cpus ( unsigned int  max_cpus)

Definition at line 115 of file smp.c.

void nlm_send_ipi_mask ( const struct cpumask mask,
unsigned int  action 
)

Definition at line 70 of file smp.c.

void nlm_send_ipi_single ( int  logical_cpu,
unsigned int  action 
)

Definition at line 60 of file smp.c.

void nlm_smp_finish ( void  )

Definition at line 121 of file smp.c.

void nlm_smp_function_ipi_handler ( unsigned int  irq,
struct irq_desc desc 
)

Definition at line 80 of file smp.c.

void nlm_smp_resched_ipi_handler ( unsigned int  irq,
struct irq_desc desc 
)

Definition at line 87 of file smp.c.

void __init nlm_smp_setup ( void  )

Definition at line 157 of file smp.c.

int __cpuinit nlm_wakeup_secondary_cpus ( u32  wakeup_mask)

Definition at line 235 of file smp.c.

Variable Documentation

int nlm_cpu_ready[NR_CPUS]

Definition at line 137 of file smp.c.

unsigned long nlm_next_gp

Definition at line 138 of file smp.c.

unsigned long nlm_next_sp

Definition at line 139 of file smp.c.

struct plat_smp_ops nlm_smp_ops
Initial value:
= {
.send_ipi_single = nlm_send_ipi_single,
.send_ipi_mask = nlm_send_ipi_mask,
.init_secondary = nlm_init_secondary,
.smp_finish = nlm_smp_finish,
.cpus_done = nlm_cpus_done,
.boot_secondary = nlm_boot_secondary,
.smp_setup = nlm_smp_setup,
.prepare_cpus = nlm_prepare_cpus,
}

Definition at line 261 of file smp.c.

cpumask_t phys_cpu_present_map

Definition at line 141 of file smp.c.