Linux kernel & device driver programming

Cross-Referenced Linux and Device Driver Code

[ source navigation ] [ diff markup ] [ identifier search ] [ freetext search ] [ file search ]
Version: [ 2.6.11.8 ] [ 2.6.25 ] [ 2.6.25.8 ] [ 2.6.31.13 ] Architecture: [ i386 ]
  1 /* cpudata.h: Per-cpu parameters.
  2  *
  3  * Copyright (C) 2004 Keith M Wesolowski (wesolows@foobazco.org)
  4  *
  5  * Based on include/asm-sparc64/cpudata.h and Linux 2.4 smp.h
  6  * both (C) David S. Miller.
  7  */
  8 
  9 #ifndef _SPARC_CPUDATA_H
 10 #define _SPARC_CPUDATA_H
 11 
 12 #include <linux/percpu.h>
 13 
 14 typedef struct {
 15         unsigned long udelay_val;
 16         unsigned long clock_tick;
 17         unsigned int multiplier;
 18         unsigned int counter;
 19         int prom_node;
 20         int mid;
 21 } cpuinfo_sparc;
 22 
 23 DECLARE_PER_CPU(cpuinfo_sparc, __cpu_data);
 24 #define cpu_data(__cpu) per_cpu(__cpu_data, (__cpu))
 25 
 26 #endif /* _SPARC_CPUDATA_H */
 27 
  This page was automatically generated by the LXR engine.