~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/sparc/include/asm/smp_64.h

Version: ~ [ linux-5.8 ] ~ [ linux-5.7.14 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.57 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.138 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.193 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.232 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.232 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /* smp.h: Sparc64 specific SMP stuff.
  2  *
  3  * Copyright (C) 1996, 2008 David S. Miller (davem@davemloft.net)
  4  */
  5 
  6 #ifndef _SPARC64_SMP_H
  7 #define _SPARC64_SMP_H
  8 
  9 #include <linux/threads.h>
 10 #include <asm/asi.h>
 11 #include <asm/starfire.h>
 12 #include <asm/spitfire.h>
 13 
 14 #ifndef __ASSEMBLY__
 15 
 16 #include <linux/cpumask.h>
 17 #include <linux/cache.h>
 18 
 19 #endif /* !(__ASSEMBLY__) */
 20 
 21 #ifdef CONFIG_SMP
 22 
 23 #ifndef __ASSEMBLY__
 24 
 25 /*
 26  *      Private routines/data
 27  */
 28 
 29 #include <linux/bitops.h>
 30 #include <linux/atomic.h>
 31 #include <asm/percpu.h>
 32 
 33 DECLARE_PER_CPU(cpumask_t, cpu_sibling_map);
 34 extern cpumask_t cpu_core_map[NR_CPUS];
 35 
 36 void arch_send_call_function_single_ipi(int cpu);
 37 void arch_send_call_function_ipi_mask(const struct cpumask *mask);
 38 
 39 /*
 40  *      General functions that each host system must provide.
 41  */
 42 
 43 int hard_smp_processor_id(void);
 44 #define raw_smp_processor_id() (current_thread_info()->cpu)
 45 
 46 void smp_fill_in_sib_core_maps(void);
 47 void cpu_play_dead(void);
 48 
 49 void smp_fetch_global_regs(void);
 50 void smp_fetch_global_pmu(void);
 51 
 52 struct seq_file;
 53 void smp_bogo(struct seq_file *);
 54 void smp_info(struct seq_file *);
 55 
 56 void smp_callin(void);
 57 void cpu_panic(void);
 58 void smp_synchronize_tick_client(void);
 59 void smp_capture(void);
 60 void smp_release(void);
 61 
 62 #ifdef CONFIG_HOTPLUG_CPU
 63 int __cpu_disable(void);
 64 void __cpu_die(unsigned int cpu);
 65 #endif
 66 
 67 #endif /* !(__ASSEMBLY__) */
 68 
 69 #else
 70 
 71 #define hard_smp_processor_id()         0
 72 #define smp_fill_in_sib_core_maps() do { } while (0)
 73 #define smp_fetch_global_regs() do { } while (0)
 74 #define smp_fetch_global_pmu() do { } while (0)
 75 
 76 #endif /* !(CONFIG_SMP) */
 77 
 78 #endif /* !(_SPARC64_SMP_H) */
 79 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp