OSDN Git Service

Avoid name collision with user_fpsimd_state in <asm/ptrace.h>.
authorElliott Hughes <enh@google.com>
Tue, 16 Jun 2015 01:47:39 +0000 (18:47 -0700)
committerElliott Hughes <enh@google.com>
Tue, 16 Jun 2015 02:02:40 +0000 (19:02 -0700)
commitf1c85411a8edd71366d723bc297d49a52112cb74
treeb5c9f4f9d102d48f7d641c75fd08f8dc000d156b
parentcce405a134c338ff6b76c56aafe02ef73c93a38c
Avoid name collision with user_fpsimd_state in <asm/ptrace.h>.

We don't want to use <asm/ptrace.h> because (a) it'll drag in a bunch of
namespace pollution and (b) the registers should be "long double" for
userspace, not the kernel's uint128s. So just use a slightly different
name for our struct (which matches the traditional names for these structs
anyway).

Bug: http://b/21695943
Bug: https://code.google.com/p/android/issues/detail?id=86712
Change-Id: I8812ca98cfe6b649dbd31f7d6aea41928ba2acbd
(cherry picked from commit 0577733c2e15a4745d5c75f59e5f56dd179a4aa7)
libc/include/sys/ucontext.h