diff options
author | Elliott Hughes <enh@google.com> | 2014-12-05 17:47:28 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2014-12-05 17:47:29 +0000 |
commit | 719b8423102e469b5a537321f02011415b376dbe (patch) | |
tree | e7c0313d283b08e1316a6f59e1658f9315158d39 | |
parent | 47c0fcd0841764a50d05e1fa4831f3002258ae22 (diff) | |
parent | 65d51a15a772e010ac60fc1a6481ba80a82d4513 (diff) | |
download | libhardware-lollipop-wear-release.tar.gz |
Merge "Remove ARCH_X86."android-wear-5.0.0_r1lollipop-wear-release
-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 5a882e2f..20d98418 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*/, |