Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions | Variables
smp-tbsync.c File Reference
#include <linux/kernel.h>
#include <linux/sched.h>
#include <linux/smp.h>
#include <linux/unistd.h>
#include <linux/init.h>
#include <linux/slab.h>
#include <linux/atomic.h>
#include <asm/smp.h>
#include <asm/time.h>

Go to the source code of this file.

Macros

#define NUM_ITER   300
 

Enumerations

enum  { kExit =0, kSetAndTest, kTest }
 

Functions

void __devinit smp_generic_take_timebase (void)
 
void __devinit smp_generic_give_timebase (void)
 

Variables

enum { ... }  __attribute__
 

Macro Definition Documentation

#define NUM_ITER   300

Definition at line 18 of file smp-tbsync.c.

Enumeration Type Documentation

anonymous enum
Enumerator:
kExit 
kSetAndTest 
kTest 

Definition at line 20 of file smp-tbsync.c.

Function Documentation

void __devinit smp_generic_give_timebase ( void  )

Definition at line 113 of file smp-tbsync.c.

void __devinit smp_generic_take_timebase ( void  )

Definition at line 45 of file smp-tbsync.c.

Variable Documentation

enum { ... } __attribute__
volatile int ack

Definition at line 31 of file smp-tbsync.c.

volatile int cmd

Definition at line 27 of file smp-tbsync.c.

int filler[2]

Definition at line 29 of file smp-tbsync.c.

int filler2[7]

Definition at line 32 of file smp-tbsync.c.

volatile int handshake

Definition at line 28 of file smp-tbsync.c.

volatile u64 mark

Definition at line 26 of file smp-tbsync.c.

volatile int race_result

Definition at line 34 of file smp-tbsync.c.

volatile u64 tb

Definition at line 25 of file smp-tbsync.c.