Skip to content

Commit

Permalink
ia64: move function declaration, ia64_cpu_local_tick() from .c to .h
Browse files Browse the repository at this point in the history
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: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: Tony Luck <tony.luck@intel.com>
  • Loading branch information
Isaku Yamahata authored and Tony Luck committed Oct 17, 2008
1 parent 41a6ba0 commit 1b4a18f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/ia64/include/asm/timex.h
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,6 @@ get_cycles (void)
return ret;
}

extern void ia64_cpu_local_tick (void);

#endif /* _ASM_IA64_TIMEX_H */
1 change: 0 additions & 1 deletion arch/ia64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,6 @@ default_idle (void)
/* We don't actually take CPU down, just spin without interrupts. */
static inline void play_dead(void)
{
extern void ia64_cpu_local_tick (void);
unsigned int this_cpu = smp_processor_id();

/* Ack it */
Expand Down

0 comments on commit 1b4a18f

Please sign in to comment.