Remove ARM AT_VECTOR_SIZE from x86 header

Perhaps left over from when a single types.h was being used for
multiple architectures, remove the ARM definition of
AT_VECTOR_SIZE from the x86 types.h header. Also remove the
CONFIG_ARM definition since it unused.

Acked-by: Alexander Kartashov <alekskartashov@parallels.com>

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>
This commit is contained in:
Christopher Covington 2014-02-07 12:04:41 -05:00 committed by Pavel Emelyanov
parent 851e89ce3a
commit f69fe9aa13
2 changed files with 2 additions and 6 deletions

View file

@ -58,7 +58,7 @@ endif
ifeq ($(shell echo $(ARCH) | sed -e 's/arm.*/arm/'),arm)
ARMV := $(shell echo $(ARCH) | sed -nr 's/armv([[:digit:]]).*/\1/p; t; i7')
SRCARCH := arm
DEFINES := -DCONFIG_ARM -DCONFIG_ARMV$(ARMV)
DEFINES := -DCONFIG_ARMV$(ARMV)
ifeq ($(ARMV),6)
CFLAGS += -march=armv6

View file

@ -126,11 +126,7 @@ typedef u64 auxv_t;
#define CORE_ENTRY__MARCH CORE_ENTRY__MARCH__X86_64
#if defined(CONFIG_X86_64)
# define AT_VECTOR_SIZE 44
#elif defined(CONFIG_ARM)
# define AT_VECTOR_SIZE 22 /* Not needed at moment */
#endif
#define AT_VECTOR_SIZE 44
#define CORE_THREAD_ARCH_INFO(core) core->thread_info