Skip to content

Commit

Permalink
[ARM] 3364/1: [cleanup] warning fix - definitions for enable_hlt and …
Browse files Browse the repository at this point in the history
…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 <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Ben Dooks authored and Russell King committed Mar 15, 2006
1 parent 84dff1a commit dabaeff
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions include/asm-arm/system.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit dabaeff

Please sign in to comment.