summaryrefslogtreecommitdiff
path: root/include/asm-parisc/elf.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/asm-parisc/elf.h')
-rw-r--r--include/asm-parisc/elf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/asm-parisc/elf.h b/include/asm-parisc/elf.h
index adea65fc43c9..f628ac7de83d 100644
--- a/include/asm-parisc/elf.h
+++ b/include/asm-parisc/elf.h
@@ -220,7 +220,7 @@ typedef struct elf64_fdesc {
* macros, and then it includes fs/binfmt_elf.c to provide an alternate
* elf binary handler for 32 bit binaries (on the 64 bit kernel).
*/
-#ifdef __LP64__
+#ifdef CONFIG_64BIT
#define ELF_CLASS ELFCLASS64
#else
#define ELF_CLASS ELFCLASS32