root/include/asm-sparc/mp.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* mp.h:  Multiprocessing definitions for the Sparc.
   2  *
   3  * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
   4  */
   5 #ifndef _SPARC_MP_H
   6 #define _SPARC_MP_H
   7 
   8 #include <asm/traps.h>
   9 #include <asm/page.h>
  10 #include <asm/vaddrs.h>
  11 
  12 extern int linux_smp_still_initting;
  13 
  14 struct sparc_percpu {
  15         struct tt_entry trap_table[NUM_SPARC_TRAPS];  /* One page */
  16         unsigned int kernel_stack[PAGE_SIZE/4];       /* One page */
  17         int cpuid;          /* Who am I? */
  18         int cpu_is_alive;   /* Linux has fired it up. */
  19         int cpu_is_idling;  /* Is sitting in the idle loop. */
  20         /* More to come... */
  21         char filler[PERCPU_ENTSIZE-(PAGE_SIZE*2)-0xc];
  22 };
  23 
  24 extern struct sparc_percpu *percpu_table;
  25 
  26 struct prom_cpuinfo {
  27         int prom_node;
  28         int mid;
  29 };
  30 
  31 extern struct prom_cpuinfo linux_cpus[NCPUS];
  32 
  33 #endif /* !(_SPARC_MP_H) */

/* [previous][next][first][last][top][bottom][index][help] */