summaryrefslogtreecommitdiffstats
path: root/modules/gralloc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-04 16:20:52 -0800
committerElliott Hughes <enh@google.com>2014-12-04 16:20:52 -0800
commit65d51a15a772e010ac60fc1a6481ba80a82d4513 (patch)
tree08201250d1095545adb777126fbc585efc719084 /modules/gralloc
parent58afe329533dc60618186f414d945829706ed772 (diff)
downloadhardware_libhardware-65d51a15a772e010ac60fc1a6481ba80a82d4513.zip
hardware_libhardware-65d51a15a772e010ac60fc1a6481ba80a82d4513.tar.gz
hardware_libhardware-65d51a15a772e010ac60fc1a6481ba80a82d4513.tar.bz2
Remove ARCH_X86.
Should have been __GLIBC__, but the code is dead anyway. Change-Id: I773f296a9c31949fa631cad863b841584c71f0ef
Diffstat (limited to 'modules/gralloc')
-rw-r--r--modules/gralloc/mapper.cpp8
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*/,