Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel...
[cris-mirror.git] / arch / ia64 / include / asm / cputime.h
blob3d665c0627a86606a60f533192f9bb52ec10f698
1 /*
2 * Definitions for measuring cputime on ia64 machines.
4 * Based on <asm-powerpc/cputime.h>.
6 * Copyright (C) 2007 FUJITSU LIMITED
7 * Copyright (C) 2007 Hidetoshi Seto <seto.hidetoshi@jp.fujitsu.com>
9 * This program is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU General Public License
11 * as published by the Free Software Foundation; either version
12 * 2 of the License, or (at your option) any later version.
14 * If we have CONFIG_VIRT_CPU_ACCOUNTING_NATIVE, we measure cpu time in nsec.
15 * Otherwise we measure cpu time in jiffies using the generic definitions.
18 #ifndef __IA64_CPUTIME_H
19 #define __IA64_CPUTIME_H
21 #ifdef CONFIG_VIRT_CPU_ACCOUNTING_NATIVE
22 extern void arch_vtime_task_switch(struct task_struct *tsk);
23 #endif /* CONFIG_VIRT_CPU_ACCOUNTING_NATIVE */
25 #endif /* __IA64_CPUTIME_H */