diff options
author | Ben Cheng <bccheng@google.com> | 2012-03-06 15:45:52 -0800 |
---|---|---|
committer | Ben Cheng <bccheng@google.com> | 2012-03-07 12:27:59 -0800 |
commit | 94a85f663694e1869acb1c2e8a3c374a6fa3ab86 (patch) | |
tree | 096ba2712dc3e41a18223abff203b6f08dd093c6 /libc/kernel/arch-arm/asm/div64.h | |
parent | d027ffdd7a2b2239db929a53d3a3c82be42dd1a0 (diff) | |
download | bionic-94a85f663694e1869acb1c2e8a3c374a6fa3ab86.zip bionic-94a85f663694e1869acb1c2e8a3c374a6fa3ab86.tar.gz bionic-94a85f663694e1869acb1c2e8a3c374a6fa3ab86.tar.bz2 |
Update bionic kernel headers using update_all.py
Change-Id: I4da6b23cdbce89445f1ca5d2fadeb23345ce694c
Diffstat (limited to 'libc/kernel/arch-arm/asm/div64.h')
-rw-r--r-- | libc/kernel/arch-arm/asm/div64.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/libc/kernel/arch-arm/asm/div64.h b/libc/kernel/arch-arm/asm/div64.h index c03a0e4..6ba008a 100644 --- a/libc/kernel/arch-arm/asm/div64.h +++ b/libc/kernel/arch-arm/asm/div64.h @@ -7,21 +7,27 @@ *** 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 __ASM_ARM_DIV64 #define __ASM_ARM_DIV64 - #include <asm/system.h> - #ifdef __ARMEB__ +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __xh "r0" #define __xl "r1" #else #define __xl "r0" +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ #define __xh "r1" #endif - #define do_div(n,base) ({ register unsigned int __base asm("r4") = base; register unsigned long long __n asm("r0") = n; register unsigned long long __res asm("r2"); register unsigned int __rem asm(__xh); asm( __asmeq("%0", __xh) __asmeq("%1", "r2") __asmeq("%2", "r0") __asmeq("%3", "r4") "bl __do_div64" : "=r" (__rem), "=r" (__res) : "r" (__n), "r" (__base) : "ip", "lr", "cc"); n = __res; __rem; }) - #endif +/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */ |