diff options
author | Richard Kuo <rkuo@codeaurora.org> | 2012-03-27 17:37:33 -0500 |
---|---|---|
committer | Richard Kuo <rkuo@codeaurora.org> | 2013-04-30 19:40:22 -0500 |
commit | 66b03dbfe605c2566cff55bde35372030aa4b3d0 (patch) | |
tree | 1e933ee8a5ad6b3c4c3e5f8184e9ea9069be2908 /arch/hexagon/include/asm/elf.h | |
parent | 8f5a0b9dffeb3cb94f2b0622b6fe0717512ef54b (diff) | |
download | talos-op-linux-66b03dbfe605c2566cff55bde35372030aa4b3d0.tar.gz talos-op-linux-66b03dbfe605c2566cff55bde35372030aa4b3d0.zip |
Hexagon: change arch version config to allow comparisons
Signed-off-by: Richard Kuo <rkuo@codeaurora.org>
Diffstat (limited to 'arch/hexagon/include/asm/elf.h')
-rw-r--r-- | arch/hexagon/include/asm/elf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/hexagon/include/asm/elf.h b/arch/hexagon/include/asm/elf.h index 1f14e082588e..83b8d0ea4cb8 100644 --- a/arch/hexagon/include/asm/elf.h +++ b/arch/hexagon/include/asm/elf.h @@ -168,15 +168,15 @@ do { \ #define ELF_DATA ELFDATA2LSB #define ELF_ARCH EM_HEXAGON -#ifdef CONFIG_HEXAGON_ARCH_V2 +#if CONFIG_HEXAGON_ARCH_VERSION == 2 #define ELF_CORE_EFLAGS 0x1 #endif -#ifdef CONFIG_HEXAGON_ARCH_V3 +#if CONFIG_HEXAGON_ARCH_VERSION == 3 #define ELF_CORE_EFLAGS 0x2 #endif -#ifdef CONFIG_HEXAGON_ARCH_V4 +#if CONFIG_HEXAGON_ARCH_VERSION == 4 #define ELF_CORE_EFLAGS 0x3 #endif |