]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ia64: move function declaration, ia64_cpu_local_tick() from .c to .h
authorIsaku Yamahata <yamahata@valinux.co.jp>
Fri, 17 Oct 2008 02:17:44 +0000 (11:17 +0900)
committerTony Luck <tony.luck@intel.com>
Fri, 17 Oct 2008 16:52:08 +0000 (09:52 -0700)
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>
arch/ia64/include/asm/timex.h
arch/ia64/kernel/process.c

index 05a6baf8a472a5daef978db6858c35a9a0e664bb..4e03cfe74a0c40712c7ff328c0436eca46946e95 100644 (file)
@@ -39,4 +39,6 @@ get_cycles (void)
        return ret;
 }
 
+extern void ia64_cpu_local_tick (void);
+
 #endif /* _ASM_IA64_TIMEX_H */
index 3ab8373103ecf9252f1ceeff4f2076e8da471113..8de0f460c88d3207ef62a148a60777c57fe88279 100644 (file)
@@ -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 */