From: Ben Dooks Date: Wed, 15 Mar 2006 23:17:26 +0000 (+0000) Subject: [ARM] 3364/1: [cleanup] warning fix - definitions for enable_hlt and disable_hlt X-Git-Tag: Ubuntu-5.10.0-12.13~56337^2~2 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=dabaeff06cca86048cfa3f74ce59688bc3addba9;p=mirror_ubuntu-hirsute-kernel.git [ARM] 3364/1: [cleanup] warning fix - definitions for enable_hlt and disable_hlt Patch from Ben Dooks The enable_hlt and disable_hlt should be declared in include/asm/setup.h. This fixes sparse errors from arch/arm/kernel/process.c Signed-off-by: Ben Dooks Signed-off-by: Russell King --- diff --git a/include/asm-arm/system.h b/include/asm-arm/system.h index eb2de8c10515..ec91d1ff032a 100644 --- a/include/asm-arm/system.h +++ b/include/asm-arm/system.h @@ -415,6 +415,9 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size return ret; } +extern void disable_hlt(void); +extern void enable_hlt(void); + #endif /* __ASSEMBLY__ */ #define arch_align_stack(x) (x)