Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
smp.c File Reference
#include <linux/smp.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/irq.h>
#include <linux/module.h>
#include <asm/cacheflush.h>

Go to the source code of this file.

Data Structures

struct  ipi_flush
 

Functions

 EXPORT_SYMBOL (smp_topology)
 
void send_IPI_single (int cpu, int tag)
 
void send_IPI_many (const struct cpumask *mask, int tag)
 
void send_IPI_allbutself (int tag)
 
void smp_send_stop (void)
 
void panic_smp_self_stop (void)
 
void evaluate_message (int tag)
 
void flush_icache_range (unsigned long start, unsigned long end)
 
void __init ipi_init (void)
 
void smp_send_reschedule (int cpu)
 

Variables

HV_Topology smp_topology __write_once
 

Function Documentation

void evaluate_message ( int  tag)

Definition at line 126 of file smp.c.

EXPORT_SYMBOL ( smp_topology  )
void flush_icache_range ( unsigned long  start,
unsigned long  end 
)

flush_icache_range - Globally flush dcache and invalidate icache for region : The starting virtual address of the region. : The ending virtual address of the region.

This is used by the kernel to globally flush some code it has just written from the dcache back to RAM and then to globally invalidate the icache over that region so that that code can be run on all CPUs in the system.

Definition at line 167 of file smp.c.

void __init ipi_init ( void  )

Definition at line 191 of file smp.c.

void panic_smp_self_stop ( void  )

Definition at line 117 of file smp.c.

void send_IPI_allbutself ( int  tag)

Definition at line 82 of file smp.c.

void send_IPI_many ( const struct cpumask mask,
int  tag 
)

Definition at line 65 of file smp.c.

void send_IPI_single ( int  cpu,
int  tag 
)

Definition at line 55 of file smp.c.

void smp_send_reschedule ( int  cpu)

Definition at line 233 of file smp.c.

void smp_send_stop ( void  )

Definition at line 110 of file smp.c.

Variable Documentation

HV_Topology smp_topology __write_once

Definition at line 24 of file smp.c.