summaryrefslogtreecommitdiffstats
path: root/modules
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-12-05 17:47:28 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-12-05 17:47:29 +0000
commit719b8423102e469b5a537321f02011415b376dbe (patch)
treee7c0313d283b08e1316a6f59e1658f9315158d39 /modules
parent47c0fcd0841764a50d05e1fa4831f3002258ae22 (diff)
parent65d51a15a772e010ac60fc1a6481ba80a82d4513 (diff)
downloadhardware_libhardware-719b8423102e469b5a537321f02011415b376dbe.zip
hardware_libhardware-719b8423102e469b5a537321f02011415b376dbe.tar.gz
hardware_libhardware-719b8423102e469b5a537321f02011415b376dbe.tar.bz2
Merge "Remove ARCH_X86."
Diffstat (limited to 'modules')
-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*/,