Commit 718a30a5cf0a9142f716a49853bd4b4a25a8da1b

Authored by Mike Frysinger
Committed by Russell King
1 parent 105bb2698b

[PATCH] ARM: 2696/1: remove ';' in ELF_DATA define in asm-arm{,26}/elf.h

Patch from Mike Frysinger

the ELF_DATA define in both arm asm subdirs of linux/include/ contain a
semicolon at the end.  this of course will cause any code that tries to use
ELF_DATA in assignment or comparison to fail.  no other arch has a semicolon
in their ELF_DATA defines.

Signed-off-by: Mike Frysinger
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

Showing 2 changed files with 3 additions and 3 deletions Side-by-side Diff

include/asm-arm/elf.h
... ... @@ -38,9 +38,9 @@
38 38 */
39 39 #define ELF_CLASS ELFCLASS32
40 40 #ifdef __ARMEB__
41   -#define ELF_DATA ELFDATA2MSB;
  41 +#define ELF_DATA ELFDATA2MSB
42 42 #else
43   -#define ELF_DATA ELFDATA2LSB;
  43 +#define ELF_DATA ELFDATA2LSB
44 44 #endif
45 45 #define ELF_ARCH EM_ARM
46 46  
include/asm-arm26/elf.h
... ... @@ -36,7 +36,7 @@
36 36 * These are used to set parameters in the core dumps.
37 37 */
38 38 #define ELF_CLASS ELFCLASS32
39   -#define ELF_DATA ELFDATA2LSB;
  39 +#define ELF_DATA ELFDATA2LSB
40 40 #define ELF_ARCH EM_ARM
41 41  
42 42 #define USE_ELF_CORE_DUMP