diff options
author | Elliott Hughes <enh@google.com> | 2014-12-05 18:01:52 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-12-05 18:01:52 +0000 |
commit | c5f5daffb520017f2d6d99d245866b448723c876 (patch) | |
tree | e8f097c1afbf57ac4d16f8288c93f2f77ce4849e /modules | |
parent | c18a034e1654f3c6dfbb73212630465c33f0a07e (diff) | |
parent | 719b8423102e469b5a537321f02011415b376dbe (diff) | |
download | hardware_libhardware-c5f5daffb520017f2d6d99d245866b448723c876.zip hardware_libhardware-c5f5daffb520017f2d6d99d245866b448723c876.tar.gz hardware_libhardware-c5f5daffb520017f2d6d99d245866b448723c876.tar.bz2 |
am 719b8423: Merge "Remove ARCH_X86."
* commit '719b8423102e469b5a537321f02011415b376dbe':
Remove ARCH_X86.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/gralloc/mapper.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/modules/gralloc/mapper.cpp b/modules/gralloc/mapper.cpp index 5a882e2..20d9841 100644 --- a/modules/gralloc/mapper.cpp +++ b/modules/gralloc/mapper.cpp @@ -33,14 +33,6 @@ #include "gralloc_priv.h" -/* desktop Linux needs a little help with gettid() */ -#if defined(ARCH_X86) && !defined(HAVE_ANDROID_OS) -#define __KERNEL__ -# include <linux/unistd.h> -pid_t gettid() { return syscall(__NR_gettid);} -#undef __KERNEL__ -#endif - /*****************************************************************************/ static int gralloc_map(gralloc_module_t const* /*module*/, |