diff options
author | Stephen Rothwell <sfr@canb.auug.org.au> | 2005-06-21 20:15:39 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | 2005-06-21 21:46:28 -0400 |
commit | c92877e0a079fe5a488cb244c7afb05137702b49 (patch) | |
tree | 9bd04f29ced02094c71df1bc112d56747e436b1e /arch/ppc64/kernel/idle.c | |
parent | 2310c977a9b7a4d08fbaa74e694b49b38d49f5ae (diff) |
[PATCH] ppc64 iSeries: cleanup ItLpQueue.h
Just white space cleaups and move process_iSeries_events into its only caller.
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/ppc64/kernel/idle.c')
-rw-r--r-- | arch/ppc64/kernel/idle.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/arch/ppc64/kernel/idle.c b/arch/ppc64/kernel/idle.c index ff8a7db142d3..bdf13b4dc1c8 100644 --- a/arch/ppc64/kernel/idle.c +++ b/arch/ppc64/kernel/idle.c | |||
@@ -42,6 +42,11 @@ static int (*idle_loop)(void); | |||
42 | static unsigned long maxYieldTime = 0; | 42 | static unsigned long maxYieldTime = 0; |
43 | static unsigned long minYieldTime = 0xffffffffffffffffUL; | 43 | static unsigned long minYieldTime = 0xffffffffffffffffUL; |
44 | 44 | ||
45 | static inline void process_iSeries_events(void) | ||
46 | { | ||
47 | asm volatile ("li 0,0x5555; sc" : : : "r0", "r3"); | ||
48 | } | ||
49 | |||
45 | static void yield_shared_processor(void) | 50 | static void yield_shared_processor(void) |
46 | { | 51 | { |
47 | unsigned long tb; | 52 | unsigned long tb; |