diff options
author | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-11 12:22:19 +0800 |
---|---|---|
committer | Andrew Hsieh <andrewhsieh@google.com> | 2012-10-11 12:23:25 +0800 |
commit | 0fd55ba58eee50c65bc52ce44f7374e91ac83b54 (patch) | |
tree | 86d25aa684aa712602a2875c5606d9a47679e3c7 /8/platforms/android-8/arch-x86/usr/include/linux/module.h | |
parent | c6b0a84bb565b9f6a124a9a43e5a2f4473ddde54 (diff) | |
download | prebuilts_ndk-0fd55ba58eee50c65bc52ce44f7374e91ac83b54.zip prebuilts_ndk-0fd55ba58eee50c65bc52ce44f7374e91ac83b54.tar.gz prebuilts_ndk-0fd55ba58eee50c65bc52ce44f7374e91ac83b54.tar.bz2 |
Refresh prebuilts/ndk/android-ndk-r8 with content of r8c
Mostly notable change is the removal of arch-x86 and arch-mips headers
from platforms/android-{3,4,5,8}. Those headers are imcomplete to begin
with, since both X86 and MIPS ABIs are only supported at API > 8
Other fixes (excerpts from docs/CHANGES.html)
1. Fixed arch-mips/include/asm/* previously incorrectly cleaned from original kernel
See https://android-review.googlesource.com/#/c/43335
2. Replace struct member data "__unused" with "__linux_unused" in linux/sysctl.h
and linux/icmp.h to avoid conflict with "#define __unused" in sys/cdefs.h
3. Fixed fenv.h to enclosed C functions with __BEGIN_DECLS/__END_DECLS
4. Removed unimplemented functions in malloc.h
5. Fixed stdint.h. See http://code.google.com/p/android/issues/detail?id=1952
6. Fixed preprocessor macros in <arch>/include/machine/*
7. Replaced link.h for mips with new version for all platforms
8. Remove linux-unistd.h
Change-Id: I35f120a870afe25a2d105a2cdbb957f0d40b60e9
Diffstat (limited to '8/platforms/android-8/arch-x86/usr/include/linux/module.h')
-rw-r--r-- | 8/platforms/android-8/arch-x86/usr/include/linux/module.h | 114 |
1 files changed, 0 insertions, 114 deletions
diff --git a/8/platforms/android-8/arch-x86/usr/include/linux/module.h b/8/platforms/android-8/arch-x86/usr/include/linux/module.h deleted file mode 100644 index 3c449c6..0000000 --- a/8/platforms/android-8/arch-x86/usr/include/linux/module.h +++ /dev/null @@ -1,114 +0,0 @@ -/**************************************************************************** - **************************************************************************** - *** - *** This header was automatically generated from a Linux kernel header - *** of the same name, to make information necessary for userspace to - *** call into the kernel available to libc. It contains only constants, - *** structures, and macros generated from the original header, and thus, - *** contains no copyrightable information. - *** - **************************************************************************** - ****************************************************************************/ -#ifndef _LINUX_MODULE_H -#define _LINUX_MODULE_H - -#include <linux/sched.h> -#include <linux/spinlock.h> -#include <linux/list.h> -#include <linux/stat.h> -#include <linux/compiler.h> -#include <linux/cache.h> -#include <linux/kmod.h> -#include <linux/elf.h> -#include <linux/stringify.h> -#include <linux/kobject.h> -#include <linux/moduleparam.h> -#include <asm/local.h> - -#include <asm/module.h> - -#define MODULE_SUPPORTED_DEVICE(name) - -#ifndef MODULE_SYMBOL_PREFIX -#define MODULE_SYMBOL_PREFIX "" -#endif - -#define MODULE_NAME_LEN (64 - sizeof(unsigned long)) - -struct kernel_symbol -{ - unsigned long value; - const char *name; -}; - -struct modversion_info -{ - unsigned long crc; - char name[MODULE_NAME_LEN]; -}; - -struct module; - -struct module_attribute { - struct attribute attr; - ssize_t (*show)(struct module_attribute *, struct module *, char *); - ssize_t (*store)(struct module_attribute *, struct module *, - const char *, size_t count); - void (*setup)(struct module *, const char *); - int (*test)(struct module *); - void (*free)(struct module *); -}; - -struct module_kobject -{ - struct kobject kobj; - struct module *mod; -}; - -struct exception_table_entry; - -#ifdef MODULE -#define MODULE_GENERIC_TABLE(gtype,name) extern const struct gtype##_id __mod_##gtype##_table __attribute__ ((unused, alias(__stringify(name)))) - -#define THIS_MODULE (&__this_module) -#else -#define MODULE_GENERIC_TABLE(gtype,name) -#define THIS_MODULE ((struct module *)0) -#endif - -#define MODULE_INFO(tag, info) __MODULE_INFO(tag, tag, info) - -#define MODULE_ALIAS(_alias) MODULE_INFO(alias, _alias) - -#define MODULE_LICENSE(_license) MODULE_INFO(license, _license) - -#define MODULE_AUTHOR(_author) MODULE_INFO(author, _author) - -#define MODULE_DESCRIPTION(_description) MODULE_INFO(description, _description) - -#define MODULE_PARM_DESC(_parm, desc) __MODULE_INFO(parm, _parm, #_parm ":" desc) - -#define MODULE_DEVICE_TABLE(type,name) MODULE_GENERIC_TABLE(type##_device,name) - -#define MODULE_VERSION(_version) MODULE_INFO(version, _version) - -struct notifier_block; - -#define EXPORT_SYMBOL(sym) -#define EXPORT_SYMBOL_GPL(sym) -#define EXPORT_SYMBOL_GPL_FUTURE(sym) -#define EXPORT_UNUSED_SYMBOL(sym) -#define EXPORT_UNUSED_SYMBOL_GPL(sym) - -#define symbol_get(x) ({ extern typeof(x) x __attribute__((weak)); &(x); }) -#define symbol_put(x) do { } while(0) -#define symbol_put_addr(x) do { } while(0) -#define module_name(mod) "kernel" -#define __unsafe(mod) -#define module_put_and_exit(code) do_exit(code) - -struct module; - -#define symbol_request(x) try_then_request_module(symbol_get(x), "symbol:" #x) -#define __MODULE_STRING(x) __stringify(x) -#endif |