projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84dff1a
)
[ARM] 3364/1: [cleanup] warning fix - definitions for enable_hlt and disable_hlt
author
Ben Dooks
<ben-linux@fluff.org>
Wed, 15 Mar 2006 23:17:26 +0000
(23:17 +0000)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Wed, 15 Mar 2006 23:17:26 +0000
(23:17 +0000)
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>
include/asm-arm/system.h
patch
|
blob
|
history
diff --git
a/include/asm-arm/system.h
b/include/asm-arm/system.h
index
eb2de8c
..
ec91d1f
100644
(file)
--- 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)