From 3232cbcf6e6bc46579d54bd0fe65634d10eb7247 Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 24 Nov 2002 23:15:00 +0000 Subject: [ARM] 2.5.49 Build fixes - Fix include files in various drivers to kill warnings about free_irq() and request_irq() - Make ARM cpufreq files build - Convert arthur.c initialisers to C99 style, fixing an init bug. - Allow ARM binaries to execute on Thumb-capable CPUs again. - Remove arxescsi.h; it is no longer required. --- include/asm-arm/proc-armv/elf.h | 2 +- include/asm-arm/suspend.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/asm-arm') diff --git a/include/asm-arm/proc-armv/elf.h b/include/asm-arm/proc-armv/elf.h index b2cd010ee344..1b8a0ac3b2b5 100644 --- a/include/asm-arm/proc-armv/elf.h +++ b/include/asm-arm/proc-armv/elf.h @@ -13,7 +13,7 @@ #define ELF_THUMB_OK(x) \ (( (elf_hwcap & HWCAP_THUMB) && ((x)->e_entry & 1) == 1) || \ - (!(elf_hwcap & HWCAP_THUMB) && ((x)->e_entry & 3) == 0)) + ((x)->e_entry & 3) == 0) #define ELF_26BIT_OK(x) \ (( (elf_hwcap & HWCAP_26BIT) && (x)->e_flags & EF_ARM_APCS26) || \ diff --git a/include/asm-arm/suspend.h b/include/asm-arm/suspend.h index 5e4c1cc0c19d..cf0d0bdee74d 100644 --- a/include/asm-arm/suspend.h +++ b/include/asm-arm/suspend.h @@ -1,4 +1,4 @@ -#ifdef _ASMARM_SUSPEND_H +#ifndef _ASMARM_SUSPEND_H #define _ASMARM_SUSPEND_H #endif -- cgit v1.2.3