#include <linux/errno.h>
#include <linux/types.h>
#include <linux/list.h>
#include <linux/cpumask.h>
#include <linux/init.h>
Go to the source code of this file.
|
| #define | raw_smp_processor_id() 0 |
| |
| #define | smp_call_function(func, info, wait) (up_smp_call_function(func, info)) |
| |
| #define | on_each_cpu(func, info, wait) |
| |
| #define | on_each_cpu_mask(mask, func, info, wait) |
| |
| #define | on_each_cpu_cond(cond_func, func, info, wait, gfp_flags) |
| |
| #define | smp_prepare_boot_cpu() do {} while (0) |
| |
| #define | smp_call_function_many(mask, func, info, wait) (up_smp_call_function(func, info)) |
| |
| #define | smp_processor_id() raw_smp_processor_id() |
| |
| #define | get_cpu() ({ preempt_disable(); smp_processor_id(); }) |
| |
| #define | put_cpu() preempt_enable() |
| |
Value:({ \
local_irq_disable(); \
local_irq_enable(); \
0; \
})
Definition at line 142 of file smp.h.
| #define on_each_cpu_cond |
( |
|
cond_func, |
|
|
|
func, |
|
|
|
info, |
|
|
|
wait, |
|
|
|
gfp_flags |
|
) |
| |
Value:do { \
preempt_disable(); \
if ((cond_func)(0, __info)) { \
local_irq_disable(); \
local_irq_enable(); \
} \
preempt_enable(); \
} while (0)
Definition at line 167 of file smp.h.
Value:do { \
local_irq_disable(); \
local_irq_enable(); \
} \
} while (0)
Definition at line 155 of file smp.h.
| #define raw_smp_processor_id |
( |
| ) |
0 |
| #define smp_prepare_boot_cpu |
( |
|
void | ) |
do {} while (0) |
Definition at line 17 of file smp.h.
Definition at line 10 of file up.c.