blob: c6d6e4f069f661239dcdcf673e2b703c44d599fd [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 ***
Ben Cheng654325d2012-03-07 21:13:49 -080010 *** To edit the content of this header, modify the corresponding
11 *** source file (e.g. under external/kernel-headers/original/) then
12 *** run bionic/libc/kernel/tools/update_all.py
13 ***
14 *** Any manual change here will be lost the next time this script will
15 *** be run. You've been warned!
16 ***
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080017 ****************************************************************************
18 ****************************************************************************/
19#ifndef __LINUX_LOCKDEP_H
20#define __LINUX_LOCKDEP_H
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080021#include <linux/linkage.h>
22#include <linux/list.h>
Ben Cheng654325d2012-03-07 21:13:49 -080023/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080024#include <linux/debug_locks.h>
25#include <linux/stacktrace.h>
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080026#define lock_acquire(l, s, t, r, c, i) do { } while (0)
27#define lock_release(l, n, i) do { } while (0)
Ben Cheng654325d2012-03-07 21:13:49 -080028/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080029#define lockdep_init() do { } while (0)
30#define lockdep_info() do { } while (0)
31#define lockdep_init_map(lock, name, key) do { (void)(key); } while (0)
32#define lockdep_set_class(lock, key) do { (void)(key); } while (0)
Ben Cheng654325d2012-03-07 21:13:49 -080033/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080034#define lockdep_set_class_and_name(lock, key, name) do { (void)(key); } while (0)
35#define INIT_LOCKDEP
36#define lockdep_reset() do { debug_locks = 1; } while (0)
37#define lockdep_free_key_range(start, size) do { } while (0)
Ben Cheng654325d2012-03-07 21:13:49 -080038/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
39struct lock_class_key { };
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080040#define early_init_irq_lock_class() do { } while (0)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080041#define early_boot_irqs_off() do { } while (0)
42#define early_boot_irqs_on() do { } while (0)
Ben Cheng654325d2012-03-07 21:13:49 -080043/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080044#define SINGLE_DEPTH_NESTING 1
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080045#define spin_acquire(l, s, t, i) do { } while (0)
46#define spin_release(l, n, i) do { } while (0)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080047#define rwlock_acquire(l, s, t, i) do { } while (0)
Ben Cheng654325d2012-03-07 21:13:49 -080048/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080049#define rwlock_acquire_read(l, s, t, i) do { } while (0)
50#define rwlock_release(l, n, i) do { } while (0)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080051#define mutex_acquire(l, s, t, i) do { } while (0)
52#define mutex_release(l, n, i) do { } while (0)
Ben Cheng654325d2012-03-07 21:13:49 -080053/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080054#define rwsem_acquire(l, s, t, i) do { } while (0)
55#define rwsem_acquire_read(l, s, t, i) do { } while (0)
56#define rwsem_release(l, n, i) do { } while (0)
The Android Open Source Project1dc9e472009-03-03 19:28:35 -080057#endif
Ben Cheng654325d2012-03-07 21:13:49 -080058/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */