blob: f7e3889f04ab6fca72959b72d56b8f31bc915dc4 [file] [log] [blame]
The Android Open Source Project1dc9e472009-03-03 19:28:35 -08001/****************************************************************************
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_
Ben Cheng4b29af02012-03-07 16:14:53 -080014
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080015#include <linux/sysdev.h>
16#include <linux/node.h>
17#include <linux/compiler.h>
18#include <linux/cpumask.h>
19#include <asm/semaphore.h>
Ben Cheng4b29af02012-03-07 16:14:53 -080020
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021struct cpu {
22 int node_id;
23 int no_control;
24 struct sys_device sysdev;
25};
Ben Cheng4b29af02012-03-07 16:14:53 -080026
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080027struct notifier_block;
Ben Cheng4b29af02012-03-07 16:14:53 -080028
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#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)
Ben Cheng4b29af02012-03-07 16:14:53 -080035
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080036#endif