aboutsummaryrefslogtreecommitdiffstats
path: root/libc/kernel/common/linux/kmod.h
diff options
context:
space:
mode:
Diffstat (limited to 'libc/kernel/common/linux/kmod.h')
-rw-r--r--libc/kernel/common/linux/kmod.h14
1 files changed, 4 insertions, 10 deletions
diff --git a/libc/kernel/common/linux/kmod.h b/libc/kernel/common/linux/kmod.h
index a561261a9..d24456d29 100644
--- a/libc/kernel/common/linux/kmod.h
+++ b/libc/kernel/common/linux/kmod.h
@@ -7,23 +7,17 @@
*** structures, and macros generated from the original header, and thus,
*** contains no copyrightable information.
***
- *** To edit the content of this header, modify the corresponding
- *** source file (e.g. under external/kernel-headers/original/) then
- *** run bionic/libc/kernel/tools/update_all.py
- ***
- *** Any manual change here will be lost the next time this script will
- *** be run. You've been warned!
- ***
****************************************************************************
****************************************************************************/
#ifndef __LINUX_KMOD_H__
#define __LINUX_KMOD_H__
+
#include <linux/stddef.h>
#include <linux/errno.h>
-/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
#include <linux/compiler.h>
+
#define KMOD_PATH_LEN 256
+
#define try_then_request_module(x, mod...) ((x) ?: (request_module(mod), (x)))
-struct key;
-/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
+
#endif