From 65d51a15a772e010ac60fc1a6481ba80a82d4513 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 4 Dec 2014 16:20:52 -0800 Subject: Remove ARCH_X86. Should have been __GLIBC__, but the code is dead anyway. Change-Id: I773f296a9c31949fa631cad863b841584c71f0ef --- modules/gralloc/mapper.cpp | 8 -------- 1 file changed, 8 deletions(-) (limited to 'modules') 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 -pid_t gettid() { return syscall(__NR_gettid);} -#undef __KERNEL__ -#endif - /*****************************************************************************/ static int gralloc_map(gralloc_module_t const* /*module*/, -- cgit v1.1