am 719b8423: Merge "Remove ARCH_X86."

* commit '719b8423102e469b5a537321f02011415b376dbe':
  Remove ARCH_X86.
This commit is contained in:
Elliott Hughes 2014-12-05 18:01:52 +00:00 committed by Android Git Automerger
commit c5f5daffb5

View file

@ -33,14 +33,6 @@
#include "gralloc_priv.h" #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*/, static int gralloc_map(gralloc_module_t const* /*module*/,