Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
cpu.c File Reference
#include <linux/seq_file.h>
#include <linux/kernel.h>
#include <linux/export.h>
#include <linux/init.h>
#include <linux/smp.h>
#include <linux/threads.h>
#include <asm/spitfire.h>
#include <asm/pgtable.h>
#include <asm/oplib.h>
#include <asm/setup.h>
#include <asm/page.h>
#include <asm/head.h>
#include <asm/psr.h>
#include <asm/mbus.h>
#include <asm/cpudata.h>
#include "kernel.h"

Go to the source code of this file.

Data Structures

struct  cpu_info
 
struct  fpu_info
 
struct  manufacturer_info
 

Macros

#define NOCPU   8
 
#define NOFPU   8
 
#define CPU(ver, _name)   { .psr_vers = ver, .name = _name }
 
#define CPU_PMU(ver, _name, _pmu_name)   { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name }
 
#define FPU(ver, _name)   { .fp_vers = ver, .name = _name }
 

Functions

 DEFINE_PER_CPU (cpuinfo_sparc, __cpu_data)
 
 EXPORT_PER_CPU_SYMBOL (__cpu_data)
 
 early_initcall (cpu_type_probe)
 

Variables

int ncpus_probed
 
unsigned int fsr_storage
 
const charsparc_pmu_type
 
struct seq_operations cpuinfo_op
 

Macro Definition Documentation

#define CPU (   ver,
  _name 
)    { .psr_vers = ver, .name = _name }

Definition at line 52 of file cpu.c.

#define CPU_PMU (   ver,
  _name,
  _pmu_name 
)    { .psr_vers = ver, .name = _name, .pmu_name = _pmu_name }

Definition at line 55 of file cpu.c.

#define FPU (   ver,
  _name 
)    { .fp_vers = ver, .name = _name }

Definition at line 58 of file cpu.c.

#define NOCPU   8

Definition at line 43 of file cpu.c.

#define NOFPU   8

Definition at line 44 of file cpu.c.

Function Documentation

DEFINE_PER_CPU ( cpuinfo_sparc  ,
__cpu_data   
)
early_initcall ( cpu_type_probe  )
EXPORT_PER_CPU_SYMBOL ( __cpu_data  )

Variable Documentation

struct seq_operations cpuinfo_op
Initial value:
= {
.start =c_start,
.next = c_next,
.stop = c_stop,
.show = show_cpuinfo,
}

Definition at line 430 of file cpu.c.

unsigned int fsr_storage

Definition at line 30 of file cpu.c.

int ncpus_probed

Definition at line 29 of file cpu.c.

const char* sparc_pmu_type

Definition at line 258 of file cpu.c.