Linux Kernel
3.7.1
|
#include <linux/proc_fs.h>
#include <linux/smp.h>
#include <linux/init.h>
#include <linux/notifier.h>
#include <linux/sched.h>
#include <linux/unistd.h>
#include <linux/cpu.h>
#include <linux/oom.h>
#include <linux/rcupdate.h>
#include <linux/export.h>
#include <linux/bug.h>
#include <linux/kthread.h>
#include <linux/stop_machine.h>
#include <linux/mutex.h>
#include <linux/gfp.h>
#include <linux/suspend.h>
#include "smpboot.h"
Go to the source code of this file.
Macros | |
#define | MASK_DECLARE_1(x) [x+1][0] = (1UL << (x)) |
#define | MASK_DECLARE_2(x) MASK_DECLARE_1(x), MASK_DECLARE_1(x+1) |
#define | MASK_DECLARE_4(x) MASK_DECLARE_2(x), MASK_DECLARE_2(x+2) |
#define | MASK_DECLARE_8(x) MASK_DECLARE_4(x), MASK_DECLARE_4(x+4) |
Functions | |
EXPORT_SYMBOL_GPL (cpu_bit_bitmap) | |
const | DECLARE_BITMAP (cpu_all_bits, NR_CPUS) |
EXPORT_SYMBOL (cpu_all_bits) | |
void | set_cpu_present (unsigned int cpu, bool present) |
void | set_cpu_online (unsigned int cpu, bool online) |
void | set_cpu_active (unsigned int cpu, bool active) |
void | init_cpu_present (const struct cpumask *src) |
void | init_cpu_possible (const struct cpumask *src) |
void | init_cpu_online (const struct cpumask *src) |
Variables | |
const unsigned long | cpu_bit_bitmap [BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] |
#define MASK_DECLARE_2 | ( | x | ) | MASK_DECLARE_1(x), MASK_DECLARE_1(x+1) |
#define MASK_DECLARE_4 | ( | x | ) | MASK_DECLARE_2(x), MASK_DECLARE_2(x+2) |
#define MASK_DECLARE_8 | ( | x | ) | MASK_DECLARE_4(x), MASK_DECLARE_4(x+4) |
EXPORT_SYMBOL | ( | cpu_all_bits | ) |
EXPORT_SYMBOL_GPL | ( | cpu_bit_bitmap | ) |
const unsigned long cpu_bit_bitmap[BITS_PER_LONG+1][BITS_TO_LONGS(NR_CPUS)] |