smp.c (e18d7af85296cb6999aae171e8a9f8612bea5ae0) smp.c (98a79d6a50181ca1ecf7400eda01d5dc1bc0dbf0)
1/*
2 * arch/sh/kernel/smp.c
3 *
4 * SMP support for the SuperH processors.
5 *
6 * Copyright (C) 2002 - 2008 Paul Mundt
7 * Copyright (C) 2006 - 2007 Akio Idehara
8 *

--- 17 unchanged lines hidden (view full) ---

26#include <asm/mmu_context.h>
27#include <asm/smp.h>
28#include <asm/cacheflush.h>
29#include <asm/sections.h>
30
31int __cpu_number_map[NR_CPUS]; /* Map physical to logical */
32int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */
33
1/*
2 * arch/sh/kernel/smp.c
3 *
4 * SMP support for the SuperH processors.
5 *
6 * Copyright (C) 2002 - 2008 Paul Mundt
7 * Copyright (C) 2006 - 2007 Akio Idehara
8 *

--- 17 unchanged lines hidden (view full) ---

26#include <asm/mmu_context.h>
27#include <asm/smp.h>
28#include <asm/cacheflush.h>
29#include <asm/sections.h>
30
31int __cpu_number_map[NR_CPUS]; /* Map physical to logical */
32int __cpu_logical_map[NR_CPUS]; /* Map logical to physical */
33
34cpumask_t cpu_possible_map;
35EXPORT_SYMBOL(cpu_possible_map);
36
37cpumask_t cpu_online_map;
38EXPORT_SYMBOL(cpu_online_map);
39
40static inline void __init smp_store_cpu_info(unsigned int cpu)
41{
42 struct sh_cpuinfo *c = cpu_data + cpu;
43
44 c->loops_per_jiffy = loops_per_jiffy;
45}
46
47void __init smp_prepare_cpus(unsigned int max_cpus)

--- 327 unchanged lines hidden ---
34static inline void __init smp_store_cpu_info(unsigned int cpu)
35{
36 struct sh_cpuinfo *c = cpu_data + cpu;
37
38 c->loops_per_jiffy = loops_per_jiffy;
39}
40
41void __init smp_prepare_cpus(unsigned int max_cpus)

--- 327 unchanged lines hidden ---