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/cpu.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/kernel_stat.h>
#include <linux/sched.h>
#include <linux/module.h>
#include <asm/mmu_context.h>
#include <asm/time.h>
#include <asm/setup.h>
#include <asm/octeon/octeon.h>
#include "octeon_boot.h"

Go to the source code of this file.

Functions

void octeon_send_ipi_single (int cpu, unsigned int action)
 
void octeon_prepare_cpus (unsigned int max_cpus)
 

Variables

volatile unsigned long octeon_processor_boot = 0xff
 
volatile unsigned long octeon_processor_sp
 
volatile unsigned long octeon_processor_gp
 
struct plat_smp_ops octeon_smp_ops
 

Function Documentation

void octeon_prepare_cpus ( unsigned int  max_cpus)

Callout to firmware before smp_init

Definition at line 194 of file smp.c.

void octeon_send_ipi_single ( int  cpu,
unsigned int  action 
)

Cause the function described by call_data to be executed on the passed cpu. When the function has finished, increment the finished field of call_data.

Definition at line 61 of file smp.c.

Variable Documentation

volatile unsigned long octeon_processor_boot = 0xff

Definition at line 25 of file smp.c.

volatile unsigned long octeon_processor_gp

Definition at line 27 of file smp.c.

volatile unsigned long octeon_processor_sp

Definition at line 26 of file smp.c.

struct plat_smp_ops octeon_smp_ops
Initial value:
= {
.send_ipi_single = octeon_send_ipi_single,
.send_ipi_mask = octeon_send_ipi_mask,
.init_secondary = octeon_init_secondary,
.smp_finish = octeon_smp_finish,
.cpus_done = octeon_cpus_done,
.boot_secondary = octeon_boot_secondary,
.smp_setup = octeon_smp_setup,
.prepare_cpus = octeon_prepare_cpus,
}

Definition at line 406 of file smp.c.