Commit 1b4a18fc authored by Isaku Yamahata's avatar Isaku Yamahata Committed by Tony Luck

ia64: move function declaration, ia64_cpu_local_tick() from .c to .h

eliminate the function declaration ia64_cpu_local_tick() in
process.c by defining in arch/ia64/include/asm/timex.h
The same function will be used in a different .c file later.
Signed-off-by: default avatarIsaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: default avatarTony Luck <tony.luck@intel.com>
parent 41a6ba09
...@@ -39,4 +39,6 @@ get_cycles (void) ...@@ -39,4 +39,6 @@ get_cycles (void)
return ret; return ret;
} }
extern void ia64_cpu_local_tick (void);
#endif /* _ASM_IA64_TIMEX_H */ #endif /* _ASM_IA64_TIMEX_H */
...@@ -251,7 +251,6 @@ default_idle (void) ...@@ -251,7 +251,6 @@ default_idle (void)
/* We don't actually take CPU down, just spin without interrupts. */ /* We don't actually take CPU down, just spin without interrupts. */
static inline void play_dead(void) static inline void play_dead(void)
{ {
extern void ia64_cpu_local_tick (void);
unsigned int this_cpu = smp_processor_id(); unsigned int this_cpu = smp_processor_id();
/* Ack it */ /* Ack it */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment