1 /* 1 2 * Copyright (C) 2014 Stefan Kristiansson <ste 3 * 4 * This file is licensed under the terms of th 5 * version 2. This program is licensed "as is 6 * kind, whether express or implied. 7 */ 8 9 #ifndef __ASM_OPENRISC_SMP_H 10 #define __ASM_OPENRISC_SMP_H 11 12 #include <asm/spr.h> 13 #include <asm/spr_defs.h> 14 15 #define raw_smp_processor_id() (current_threa 16 #define hard_smp_processor_id() mfspr(SPR_CORE 17 18 extern void smp_init_cpus(void); 19 20 extern void arch_send_call_function_single_ipi 21 extern void arch_send_call_function_ipi_mask(c 22 23 extern void set_smp_cross_call(void (*)(const 24 extern void handle_IPI(unsigned int ipi_msg); 25 26 #endif /* __ASM_OPENRISC_SMP_H */ 27
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.