1/****************************************************************************
2 ****************************************************************************
3 ***
4 ***   This header was automatically generated from a Linux kernel header
5 ***   of the same name, to make information necessary for userspace to
6 ***   call into the kernel available to libc.  It contains only constants,
7 ***   structures, and macros generated from the original header, and thus,
8 ***   contains no copyrightable information.
9 ***
10 ****************************************************************************
11 ****************************************************************************/
12#ifndef _LINUX_CPU_H_
13#define _LINUX_CPU_H_
14
15#include <linux/sysdev.h>
16#include <linux/node.h>
17#include <linux/compiler.h>
18#include <linux/cpumask.h>
19#include <asm/semaphore.h>
20
21struct cpu {
22 int node_id;
23 int no_control;
24 struct sys_device sysdev;
25};
26
27struct notifier_block;
28
29#define lock_cpu_hotplug() do { } while (0)
30#define unlock_cpu_hotplug() do { } while (0)
31#define lock_cpu_hotplug_interruptible() 0
32#define hotcpu_notifier(fn, pri) do { } while (0)
33#define register_hotcpu_notifier(nb) do { } while (0)
34#define unregister_hotcpu_notifier(nb) do { } while (0)
35
36#endif
37