diff options
Diffstat (limited to '9/platforms/android-19/arch-arm64/usr/include/asm-generic')
26 files changed, 0 insertions, 789 deletions
diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/4level-fixup.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/4level-fixup.h deleted file mode 100644 index 91ae7f4..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/4level-fixup.h +++ /dev/null @@ -1,42 +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 _4LEVEL_FIXUP_H -#define _4LEVEL_FIXUP_H - -#define __ARCH_HAS_4LEVEL_HACK -#define __PAGETABLE_PUD_FOLDED - -#define PUD_SIZE PGDIR_SIZE -#define PUD_MASK PGDIR_MASK -#define PTRS_PER_PUD 1 - -#define pud_t pgd_t - -#define pmd_alloc(mm, pud, address) ((unlikely(pgd_none(*(pud))) && __pmd_alloc(mm, pud, address))? NULL: pmd_offset(pud, address)) - -#define pud_alloc(mm, pgd, address) (pgd) -#define pud_offset(pgd, start) (pgd) -#define pud_none(pud) 0 -#define pud_bad(pud) 0 -#define pud_present(pud) 1 -#define pud_ERROR(pud) do { } while (0) -#define pud_clear(pud) pgd_clear(pud) - -#undef pud_free_tlb -#define pud_free_tlb(tlb, x) do { } while (0) -#define pud_free(x) do { } while (0) -#define __pud_free_tlb(tlb, x) do { } while (0) - -#undef pud_addr_end -#define pud_addr_end(addr, end) (end) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/audit_dir_write.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/audit_dir_write.h deleted file mode 100644 index 1327b59..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/audit_dir_write.h +++ /dev/null @@ -1,11 +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. - *** - **************************************************************************** - ****************************************************************************/ diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/__ffs.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/__ffs.h deleted file mode 100644 index 3d135bd..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/__ffs.h +++ /dev/null @@ -1,19 +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 _ASM_GENERIC_BITOPS___FFS_H_ -#define _ASM_GENERIC_BITOPS___FFS_H_ - -#include <asm/types.h> - -#if BITS_PER_LONG == 64 -#endif -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/atomic.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/atomic.h deleted file mode 100644 index 5f53ba9..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/atomic.h +++ /dev/null @@ -1,23 +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 _ASM_GENERIC_BITOPS_ATOMIC_H_ -#define _ASM_GENERIC_BITOPS_ATOMIC_H_ - -#include <asm/types.h> - -#define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) -#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) - -#define _atomic_spin_lock_irqsave(l,f) do { local_irq_save(f); } while (0) -#define _atomic_spin_unlock_irqrestore(l,f) do { local_irq_restore(f); } while (0) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/ffz.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/ffz.h deleted file mode 100644 index 18da271..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/ffz.h +++ /dev/null @@ -1,17 +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 _ASM_GENERIC_BITOPS_FFZ_H_ -#define _ASM_GENERIC_BITOPS_FFZ_H_ - -#define ffz(x) __ffs(~(x)) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/find.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/find.h deleted file mode 100644 index 8361cfe..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/find.h +++ /dev/null @@ -1,18 +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 _ASM_GENERIC_BITOPS_FIND_H_ -#define _ASM_GENERIC_BITOPS_FIND_H_ - -#define find_first_bit(addr, size) find_next_bit((addr), (size), 0) -#define find_first_zero_bit(addr, size) find_next_zero_bit((addr), (size), 0) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/fls.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/fls.h deleted file mode 100644 index 8adbf31..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/fls.h +++ /dev/null @@ -1,15 +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 _ASM_GENERIC_BITOPS_FLS_H_ -#define _ASM_GENERIC_BITOPS_FLS_H_ - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/fls64.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/fls64.h deleted file mode 100644 index af77098..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/fls64.h +++ /dev/null @@ -1,17 +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 _ASM_GENERIC_BITOPS_FLS64_H_ -#define _ASM_GENERIC_BITOPS_FLS64_H_ - -#include <asm/types.h> - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/le.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/le.h deleted file mode 100644 index 97ca973..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/le.h +++ /dev/null @@ -1,53 +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 _ASM_GENERIC_BITOPS_LE_H_ -#define _ASM_GENERIC_BITOPS_LE_H_ - -#include <asm/types.h> -#include <asm/byteorder.h> - -#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) -#define BITOP_LE_SWIZZLE ((BITS_PER_LONG-1) & ~0x7) - -#ifdef __LITTLE_ENDIAN - -#define generic_test_le_bit(nr, addr) test_bit(nr, addr) -#define generic___set_le_bit(nr, addr) __set_bit(nr, addr) -#define generic___clear_le_bit(nr, addr) __clear_bit(nr, addr) - -#define generic_test_and_set_le_bit(nr, addr) test_and_set_bit(nr, addr) -#define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit(nr, addr) - -#define generic___test_and_set_le_bit(nr, addr) __test_and_set_bit(nr, addr) -#define generic___test_and_clear_le_bit(nr, addr) __test_and_clear_bit(nr, addr) - -#define generic_find_next_zero_le_bit(addr, size, offset) find_next_zero_bit(addr, size, offset) - -#elif defined(__BIG_ENDIAN) - -#define generic_test_le_bit(nr, addr) test_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) -#define generic___set_le_bit(nr, addr) __set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) -#define generic___clear_le_bit(nr, addr) __clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) - -#define generic_test_and_set_le_bit(nr, addr) test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) -#define generic_test_and_clear_le_bit(nr, addr) test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) - -#define generic___test_and_set_le_bit(nr, addr) __test_and_set_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) -#define generic___test_and_clear_le_bit(nr, addr) __test_and_clear_bit((nr) ^ BITOP_LE_SWIZZLE, (addr)) - -#else -#error "Please fix <asm/byteorder.h>" -#endif - -#define generic_find_first_zero_le_bit(addr, size) generic_find_next_zero_le_bit((addr), (size), 0) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/non-atomic.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/non-atomic.h deleted file mode 100644 index 727f736..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bitops/non-atomic.h +++ /dev/null @@ -1,20 +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 _ASM_GENERIC_BITOPS_NON_ATOMIC_H_ -#define _ASM_GENERIC_BITOPS_NON_ATOMIC_H_ - -#include <asm/types.h> - -#define BITOP_MASK(nr) (1UL << ((nr) % BITS_PER_LONG)) -#define BITOP_WORD(nr) ((nr) / BITS_PER_LONG) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bug.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bug.h deleted file mode 100644 index d91a135..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/bug.h +++ /dev/null @@ -1,33 +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 _ASM_GENERIC_BUG_H -#define _ASM_GENERIC_BUG_H - -#include <linux/compiler.h> - -#ifndef HAVE_ARCH_BUG -#define BUG() -#endif - -#ifndef HAVE_ARCH_BUG_ON -#define BUG_ON(condition) do { if (condition) ; } while(0) -#endif - -#ifndef HAVE_ARCH_WARN_ON -#define WARN_ON(condition) do { if (condition) ; } while(0) -#endif - -#define WARN_ON_ONCE(condition) ({ static int __warn_once = 1; int __ret = 0; if (unlikely((condition) && __warn_once)) { __warn_once = 0; WARN_ON(1); __ret = 1; } __ret; }) - -#define WARN_ON_SMP(x) do { } while (0) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/cputime.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/cputime.h deleted file mode 100644 index 0486b87..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/cputime.h +++ /dev/null @@ -1,60 +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 _ASM_GENERIC_CPUTIME_H -#define _ASM_GENERIC_CPUTIME_H - -#include <linux/time.h> -#include <linux/jiffies.h> - -typedef unsigned long cputime_t; - -#define cputime_zero (0UL) -#define cputime_max ((~0UL >> 1) - 1) -#define cputime_add(__a, __b) ((__a) + (__b)) -#define cputime_sub(__a, __b) ((__a) - (__b)) -#define cputime_div(__a, __n) ((__a) / (__n)) -#define cputime_halve(__a) ((__a) >> 1) -#define cputime_eq(__a, __b) ((__a) == (__b)) -#define cputime_gt(__a, __b) ((__a) > (__b)) -#define cputime_ge(__a, __b) ((__a) >= (__b)) -#define cputime_lt(__a, __b) ((__a) < (__b)) -#define cputime_le(__a, __b) ((__a) <= (__b)) -#define cputime_to_jiffies(__ct) (__ct) -#define jiffies_to_cputime(__hz) (__hz) - -typedef u64 cputime64_t; - -#define cputime64_zero (0ULL) -#define cputime64_add(__a, __b) ((__a) + (__b)) -#define cputime64_sub(__a, __b) ((__a) - (__b)) -#define cputime64_to_jiffies64(__ct) (__ct) -#define jiffies64_to_cputime64(__jif) (__jif) -#define cputime_to_cputime64(__ct) ((u64) __ct) - -#define cputime_to_msecs(__ct) jiffies_to_msecs(__ct) -#define msecs_to_cputime(__msecs) msecs_to_jiffies(__msecs) - -#define cputime_to_secs(jif) ((jif) / HZ) -#define secs_to_cputime(sec) ((sec) * HZ) - -#define timespec_to_cputime(__val) timespec_to_jiffies(__val) -#define cputime_to_timespec(__ct,__val) jiffies_to_timespec(__ct,__val) - -#define timeval_to_cputime(__val) timeval_to_jiffies(__val) -#define cputime_to_timeval(__ct,__val) jiffies_to_timeval(__ct,__val) - -#define cputime_to_clock_t(__ct) jiffies_to_clock_t(__ct) -#define clock_t_to_cputime(__x) clock_t_to_jiffies(__x) - -#define cputime64_to_clock_t(__ct) jiffies_64_to_clock_t(__ct) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/emergency-restart.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/emergency-restart.h deleted file mode 100644 index 619c682..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/emergency-restart.h +++ /dev/null @@ -1,15 +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 _ASM_GENERIC_EMERGENCY_RESTART_H -#define _ASM_GENERIC_EMERGENCY_RESTART_H - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/futex.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/futex.h deleted file mode 100644 index 05d3afe..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/futex.h +++ /dev/null @@ -1,15 +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 _ASM_GENERIC_FUTEX_H -#define _ASM_GENERIC_FUTEX_H - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/ipc.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/ipc.h deleted file mode 100644 index 57657a7..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/ipc.h +++ /dev/null @@ -1,37 +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 _ASM_GENERIC_IPC_H -#define _ASM_GENERIC_IPC_H - -struct ipc_kludge { - struct msgbuf __user *msgp; - long msgtyp; -}; - -#define SEMOP 1 -#define SEMGET 2 -#define SEMCTL 3 -#define SEMTIMEDOP 4 -#define MSGSND 11 -#define MSGRCV 12 -#define MSGGET 13 -#define MSGCTL 14 -#define SHMAT 21 -#define SHMDT 22 -#define SHMGET 23 -#define SHMCTL 24 - -#define DIPC 25 - -#define IPCCALL(version,op) ((version)<<16 | (op)) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/local.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/local.h deleted file mode 100644 index cae0d54..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/local.h +++ /dev/null @@ -1,51 +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 _ASM_GENERIC_LOCAL_H -#define _ASM_GENERIC_LOCAL_H - -#include <linux/percpu.h> -#include <linux/hardirq.h> -#include <asm/atomic.h> -#include <asm/types.h> - -typedef struct -{ - atomic_long_t a; -} local_t; - -#define LOCAL_INIT(i) { ATOMIC_LONG_INIT(i) } - -#define local_read(l) atomic_long_read(&(l)->a) -#define local_set(l,i) atomic_long_set((&(l)->a),(i)) -#define local_inc(l) atomic_long_inc(&(l)->a) -#define local_dec(l) atomic_long_dec(&(l)->a) -#define local_add(i,l) atomic_long_add((i),(&(l)->a)) -#define local_sub(i,l) atomic_long_sub((i),(&(l)->a)) - -#define __local_inc(l) local_set((l), local_read(l) + 1) -#define __local_dec(l) local_set((l), local_read(l) - 1) -#define __local_add(i,l) local_set((l), local_read(l) + (i)) -#define __local_sub(i,l) local_set((l), local_read(l) - (i)) - -#define cpu_local_read(v) local_read(&__get_cpu_var(v)) -#define cpu_local_set(v, i) local_set(&__get_cpu_var(v), (i)) -#define cpu_local_inc(v) local_inc(&__get_cpu_var(v)) -#define cpu_local_dec(v) local_dec(&__get_cpu_var(v)) -#define cpu_local_add(i, v) local_add((i), &__get_cpu_var(v)) -#define cpu_local_sub(i, v) local_sub((i), &__get_cpu_var(v)) - -#define __cpu_local_inc(v) __local_inc(&__get_cpu_var(v)) -#define __cpu_local_dec(v) __local_dec(&__get_cpu_var(v)) -#define __cpu_local_add(i, v) __local_add((i), &__get_cpu_var(v)) -#define __cpu_local_sub(i, v) __local_sub((i), &__get_cpu_var(v)) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/memory_model.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/memory_model.h deleted file mode 100644 index fa7602e..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/memory_model.h +++ /dev/null @@ -1,15 +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 __ASM_MEMORY_MODEL_H -#define __ASM_MEMORY_MODEL_H - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/mutex-xchg.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/mutex-xchg.h deleted file mode 100644 index 63a557e..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/mutex-xchg.h +++ /dev/null @@ -1,16 +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 _ASM_GENERIC_MUTEX_XCHG_H -#define _ASM_GENERIC_MUTEX_XCHG_H - -#define __mutex_slowpath_needs_to_unlock() 0 -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/percpu.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/percpu.h deleted file mode 100644 index e498300..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/percpu.h +++ /dev/null @@ -1,29 +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 _ASM_GENERIC_PERCPU_H_ -#define _ASM_GENERIC_PERCPU_H_ -#include <linux/compiler.h> - -#define __GENERIC_PER_CPU - -#define DEFINE_PER_CPU(type, name) __typeof__(type) per_cpu__##name - -#define per_cpu(var, cpu) (*((void)(cpu), &per_cpu__##var)) -#define __get_cpu_var(var) per_cpu__##var -#define __raw_get_cpu_var(var) per_cpu__##var - -#define DECLARE_PER_CPU(type, name) extern __typeof__(type) per_cpu__##name - -#define EXPORT_PER_CPU_SYMBOL(var) EXPORT_SYMBOL(per_cpu__##var) -#define EXPORT_PER_CPU_SYMBOL_GPL(var) EXPORT_SYMBOL_GPL(per_cpu__##var) - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable-nopmd.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable-nopmd.h deleted file mode 100644 index ac3f40c..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable-nopmd.h +++ /dev/null @@ -1,48 +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. - *** - *** 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 _PGTABLE_NOPMD_H -#define _PGTABLE_NOPMD_H -#ifndef __ASSEMBLY__ -#include <asm-generic/pgtable-nopud.h> -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -struct mm_struct; -#define __PAGETABLE_PMD_FOLDED -typedef struct { pud_t pud; } pmd_t; -#define PMD_SHIFT PUD_SHIFT -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define PTRS_PER_PMD 1 -#define PMD_SIZE (1UL << PMD_SHIFT) -#define PMD_MASK (~(PMD_SIZE-1)) -#define pmd_ERROR(pmd) (pud_ERROR((pmd).pud)) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define pud_populate(mm, pmd, pte) do { } while (0) -#define set_pud(pudptr, pudval) set_pmd((pmd_t *)(pudptr), (pmd_t) { pudval }) -#define pmd_val(x) (pud_val((x).pud)) -#define __pmd(x) ((pmd_t) { __pud(x) } ) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#define pud_page(pud) (pmd_page((pmd_t){ pud })) -#define pud_page_vaddr(pud) (pmd_page_vaddr((pmd_t){ pud })) -#define pmd_alloc_one(mm, address) NULL -#define __pmd_free_tlb(tlb, x, a) do { } while (0) -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ -#undef pmd_addr_end -#define pmd_addr_end(addr, end) (end) -#endif -#endif -/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable-nopud.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable-nopud.h deleted file mode 100644 index 585f816..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable-nopud.h +++ /dev/null @@ -1,39 +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 _PGTABLE_NOPUD_H -#define _PGTABLE_NOPUD_H - -#ifndef __ASSEMBLY__ - -#define __PAGETABLE_PUD_FOLDED - -typedef struct { pgd_t pgd; } pud_t; - -#define PUD_SHIFT PGDIR_SHIFT -#define PTRS_PER_PUD 1 -#define PUD_SIZE (1UL << PUD_SHIFT) -#define PUD_MASK (~(PUD_SIZE-1)) - -#define pud_ERROR(pud) (pgd_ERROR((pud).pgd)) -#define pgd_populate(mm, pgd, pud) do { } while (0) -#define set_pgd(pgdptr, pgdval) set_pud((pud_t *)(pgdptr), (pud_t) { pgdval }) -#define pud_val(x) (pgd_val((x).pgd)) -#define __pud(x) ((pud_t) { __pgd(x) } ) -#define pgd_page(pgd) (pud_page((pud_t){ pgd })) -#define pgd_page_kernel(pgd) (pud_page_kernel((pud_t){ pgd })) -#define pud_alloc_one(mm, address) NULL -#define pud_free(x) do { } while (0) -#define __pud_free_tlb(tlb, x) do { } while (0) -#undef pud_addr_end -#define pud_addr_end(addr, end) (end) -#endif -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable.h deleted file mode 100644 index a21cdba..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/pgtable.h +++ /dev/null @@ -1,95 +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 _ASM_GENERIC_PGTABLE_H -#define _ASM_GENERIC_PGTABLE_H - -#ifndef __HAVE_ARCH_PTEP_ESTABLISH - -#ifndef __HAVE_ARCH_SET_PTE_ATOMIC -#define ptep_establish(__vma, __address, __ptep, __entry) do { set_pte_at((__vma)->vm_mm, (__address), __ptep, __entry); flush_tlb_page(__vma, __address); } while (0) -#else -#define ptep_establish(__vma, __address, __ptep, __entry) do { set_pte_atomic(__ptep, __entry); flush_tlb_page(__vma, __address); } while (0) -#endif -#endif - -#ifndef __HAVE_ARCH_PTEP_SET_ACCESS_FLAGS - -#define ptep_set_access_flags(__vma, __address, __ptep, __entry, __dirty) do { set_pte_at((__vma)->vm_mm, (__address), __ptep, __entry); flush_tlb_page(__vma, __address); } while (0) -#endif - -#ifndef __HAVE_ARCH_PTEP_TEST_AND_CLEAR_YOUNG -#define ptep_test_and_clear_young(__vma, __address, __ptep) ({ pte_t __pte = *(__ptep); int r = 1; if (!pte_young(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkold(__pte)); r; }) -#endif - -#ifndef __HAVE_ARCH_PTEP_CLEAR_YOUNG_FLUSH -#define ptep_clear_flush_young(__vma, __address, __ptep) ({ int __young; __young = ptep_test_and_clear_young(__vma, __address, __ptep); if (__young) flush_tlb_page(__vma, __address); __young; }) -#endif - -#ifndef __HAVE_ARCH_PTEP_TEST_AND_CLEAR_DIRTY -#define ptep_test_and_clear_dirty(__vma, __address, __ptep) ({ pte_t __pte = *__ptep; int r = 1; if (!pte_dirty(__pte)) r = 0; else set_pte_at((__vma)->vm_mm, (__address), (__ptep), pte_mkclean(__pte)); r; }) -#endif - -#ifndef __HAVE_ARCH_PTEP_CLEAR_DIRTY_FLUSH -#define ptep_clear_flush_dirty(__vma, __address, __ptep) ({ int __dirty; __dirty = ptep_test_and_clear_dirty(__vma, __address, __ptep); if (__dirty) flush_tlb_page(__vma, __address); __dirty; }) -#endif - -#ifndef __HAVE_ARCH_PTEP_GET_AND_CLEAR -#define ptep_get_and_clear(__mm, __address, __ptep) ({ pte_t __pte = *(__ptep); pte_clear((__mm), (__address), (__ptep)); __pte; }) -#endif - -#ifndef __HAVE_ARCH_PTEP_GET_AND_CLEAR_FULL -#define ptep_get_and_clear_full(__mm, __address, __ptep, __full) ({ pte_t __pte; __pte = ptep_get_and_clear((__mm), (__address), (__ptep)); __pte; }) -#endif - -#ifndef __HAVE_ARCH_PTE_CLEAR_FULL -#define pte_clear_full(__mm, __address, __ptep, __full) do { pte_clear((__mm), (__address), (__ptep)); } while (0) -#endif - -#ifndef __HAVE_ARCH_PTEP_CLEAR_FLUSH -#define ptep_clear_flush(__vma, __address, __ptep) ({ pte_t __pte; __pte = ptep_get_and_clear((__vma)->vm_mm, __address, __ptep); flush_tlb_page(__vma, __address); __pte; }) -#endif - -#ifndef __HAVE_ARCH_PTEP_SET_WRPROTECT -struct mm_struct; -#endif -#ifndef __HAVE_ARCH_PTE_SAME -#define pte_same(A,B) (pte_val(A) == pte_val(B)) -#endif -#ifndef __HAVE_ARCH_PAGE_TEST_AND_CLEAR_DIRTY -#define page_test_and_clear_dirty(page) (0) -#define pte_maybe_dirty(pte) pte_dirty(pte) -#else -#define pte_maybe_dirty(pte) (1) -#endif -#ifndef __HAVE_ARCH_PAGE_TEST_AND_CLEAR_YOUNG -#define page_test_and_clear_young(page) (0) -#endif -#ifndef __HAVE_ARCH_PGD_OFFSET_GATE -#define pgd_offset_gate(mm, addr) pgd_offset(mm, addr) -#endif -#ifndef __HAVE_ARCH_LAZY_MMU_PROT_UPDATE -#define lazy_mmu_prot_update(pte) do { } while (0) -#endif -#ifndef __HAVE_ARCH_MOVE_PTE -#define move_pte(pte, prot, old_addr, new_addr) (pte) -#endif -#define pgd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PGDIR_SIZE) & PGDIR_MASK; (__boundary - 1 < (end) - 1)? __boundary: (end); }) -#ifndef pud_addr_end -#define pud_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PUD_SIZE) & PUD_MASK; (__boundary - 1 < (end) - 1)? __boundary: (end); }) -#endif -#ifndef pmd_addr_end -#define pmd_addr_end(addr, end) ({ unsigned long __boundary = ((addr) + PMD_SIZE) & PMD_MASK; (__boundary - 1 < (end) - 1)? __boundary: (end); }) -#endif -#ifndef __ASSEMBLY__ - -#endif -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/sections.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/sections.h deleted file mode 100644 index e9eaa46..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/sections.h +++ /dev/null @@ -1,15 +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 _ASM_GENERIC_SECTIONS_H_ -#define _ASM_GENERIC_SECTIONS_H_ - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/tlb.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/tlb.h deleted file mode 100644 index dc1e79f..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/tlb.h +++ /dev/null @@ -1,37 +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 _ASM_GENERIC__TLB_H -#define _ASM_GENERIC__TLB_H - -#include <linux/swap.h> -#include <asm/pgalloc.h> -#include <asm/tlbflush.h> - -#define FREE_PTE_NR 1 -#define tlb_fast_mode(tlb) 1 - -struct mmu_gather { - struct mm_struct *mm; - unsigned int nr; - unsigned int need_flush; - unsigned int fullmm; - struct page * pages[FREE_PTE_NR]; -}; - -#define tlb_remove_tlb_entry(tlb, ptep, address) do { tlb->need_flush = 1; __tlb_remove_tlb_entry(tlb, ptep, address); } while (0) -#define pte_free_tlb(tlb, ptep) do { tlb->need_flush = 1; __pte_free_tlb(tlb, ptep); } while (0) -#ifndef __ARCH_HAS_4LEVEL_HACK -#define pud_free_tlb(tlb, pudp) do { tlb->need_flush = 1; __pud_free_tlb(tlb, pudp); } while (0) -#endif -#define pmd_free_tlb(tlb, pmdp) do { tlb->need_flush = 1; __pmd_free_tlb(tlb, pmdp); } while (0) -#define tlb_migrate_finish(mm) do {} while (0) -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/topology.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/topology.h deleted file mode 100644 index 089b1f2..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/topology.h +++ /dev/null @@ -1,35 +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 _ASM_GENERIC_TOPOLOGY_H -#define _ASM_GENERIC_TOPOLOGY_H - -#ifndef cpu_to_node -#define cpu_to_node(cpu) (0) -#endif -#ifndef parent_node -#define parent_node(node) (0) -#endif -#ifndef node_to_cpumask -#define node_to_cpumask(node) (cpu_online_map) -#endif -#ifndef node_to_first_cpu -#define node_to_first_cpu(node) (0) -#endif -#ifndef pcibus_to_node -#define pcibus_to_node(node) (-1) -#endif - -#ifndef pcibus_to_cpumask -#define pcibus_to_cpumask(bus) (pcibus_to_node(bus) == -1 ? CPU_MASK_ALL : node_to_cpumask(pcibus_to_node(bus)) ) -#endif - -#endif diff --git a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/xor.h b/9/platforms/android-19/arch-arm64/usr/include/asm-generic/xor.h deleted file mode 100644 index 6b1e4e8..0000000 --- a/9/platforms/android-19/arch-arm64/usr/include/asm-generic/xor.h +++ /dev/null @@ -1,14 +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. - *** - **************************************************************************** - ****************************************************************************/ -#include <asm/processor.h> - -#define XOR_TRY_TEMPLATES do { xor_speed(&xor_block_8regs); xor_speed(&xor_block_8regs_p); xor_speed(&xor_block_32regs); xor_speed(&xor_block_32regs_p); } while (0) |