Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
proc.c File Reference
#include <linux/smp.h>
#include <linux/seq_file.h>
#include <linux/threads.h>
#include <linux/cpumask.h>
#include <linux/timex.h>
#include <linux/delay.h>
#include <linux/fs.h>
#include <linux/proc_fs.h>
#include <linux/sysctl.h>
#include <linux/hardirq.h>
#include <linux/hugetlb.h>
#include <linux/mman.h>
#include <asm/unaligned.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/sections.h>
#include <asm/homecache.h>
#include <asm/hardwall.h>
#include <arch/chip.h>

Go to the source code of this file.

Macros

#define cpu_to_ptr(n)   ((void *)((long)(n)+1))
 
#define ptr_to_cpu(p)   ((long)(p) - 1)
 

Functions

 arch_initcall (proc_tile_init)
 
 arch_initcall (proc_sys_tile_init)
 

Variables

struct seq_operations cpuinfo_op
 

Macro Definition Documentation

#define cpu_to_ptr (   n)    ((void *)((long)(n)+1))

Definition at line 40 of file proc.c.

#define ptr_to_cpu (   p)    ((long)(p) - 1)

Definition at line 41 of file proc.c.

Function Documentation

arch_initcall ( proc_tile_init  )
arch_initcall ( proc_sys_tile_init  )

Variable Documentation

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

Definition at line 88 of file proc.c.