cpu.c (6206aa8b2b9a45b4cf3ee31b7209b014be349fd9) cpu.c (6943f3da3e64edd95ee2d33abc0a642357746ba6)
1/* cpu.c: Dinky routines to look for the kind of Sparc cpu
2 * we are on.
3 *
4 * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
5 */
6
7#include <linux/kernel.h>
1/* cpu.c: Dinky routines to look for the kind of Sparc cpu
2 * we are on.
3 *
4 * Copyright (C) 1996 David S. Miller (davem@caip.rutgers.edu)
5 */
6
7#include <linux/kernel.h>
8#include <linux/module.h>
8#include <linux/init.h>
9#include <linux/smp.h>
10#include <linux/threads.h>
11
12#include <asm/spitfire.h>
13#include <asm/oplib.h>
14#include <asm/page.h>
15#include <asm/head.h>
16#include <asm/psr.h>
17#include <asm/mbus.h>
18#include <asm/cpudata.h>
19
20#include "kernel.h"
21
22DEFINE_PER_CPU(cpuinfo_sparc, __cpu_data) = { 0 };
9#include <linux/init.h>
10#include <linux/smp.h>
11#include <linux/threads.h>
12
13#include <asm/spitfire.h>
14#include <asm/oplib.h>
15#include <asm/page.h>
16#include <asm/head.h>
17#include <asm/psr.h>
18#include <asm/mbus.h>
19#include <asm/cpudata.h>
20
21#include "kernel.h"
22
23DEFINE_PER_CPU(cpuinfo_sparc, __cpu_data) = { 0 };
24EXPORT_PER_CPU_SYMBOL(__cpu_data);
23
24struct cpu_info {
25 int psr_vers;
26 const char *name;
27};
28
29struct fpu_info {
30 int fp_vers;

--- 308 unchanged lines hidden ---
25
26struct cpu_info {
27 int psr_vers;
28 const char *name;
29};
30
31struct fpu_info {
32 int fp_vers;

--- 308 unchanged lines hidden ---