Skip to content
Snippets Groups Projects
Commit dabaeff0 authored by Ben Dooks's avatar Ben Dooks Committed by Russell King
Browse files

[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: default avatarBen Dooks <ben-linux@fluff.org>
Signed-off-by: default avatarRussell King <rmk+kernel@arm.linux.org.uk>
parent 84dff1a7
No related branches found
No related tags found
No related merge requests found
...@@ -415,6 +415,9 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size ...@@ -415,6 +415,9 @@ static inline unsigned long __xchg(unsigned long x, volatile void *ptr, int size
return ret; return ret;
} }
extern void disable_hlt(void);
extern void enable_hlt(void);
#endif /* __ASSEMBLY__ */ #endif /* __ASSEMBLY__ */
#define arch_align_stack(x) (x) #define arch_align_stack(x) (x)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment