X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-s390%2Fsystem.h;h=71a0732cd5180f89b59a2a53ecef653416783b75;hb=4d3ce21fa9d2eaeda113aa2f9c2da80d972bef64;hp=c7c3a9ad593f49682a35f3c7cb0d2a28a952cf17;hpb=45bfe98bd790b5ded00462cd582effcfb42263cc;p=linux-2.6-omap-h63xx.git diff --git a/include/asm-s390/system.h b/include/asm-s390/system.h index c7c3a9ad593..71a0732cd51 100644 --- a/include/asm-s390/system.h +++ b/include/asm-s390/system.h @@ -11,7 +11,6 @@ #ifndef __ASM_SYSTEM_H #define __ASM_SYSTEM_H -#include #include #include #include @@ -115,13 +114,16 @@ static inline void sched_cacheflush(void) } #ifdef CONFIG_VIRT_CPU_ACCOUNTING -extern void account_user_vtime(struct task_struct *); +extern void account_vtime(struct task_struct *); +extern void account_tick_vtime(struct task_struct *); extern void account_system_vtime(struct task_struct *); +#else +#define account_vtime(x) do { /* empty */ } while (0) #endif #define finish_arch_switch(prev) do { \ set_fs(current->thread.mm_segment); \ - account_system_vtime(prev); \ + account_vtime(prev); \ } while (0) #define nop() __asm__ __volatile__ ("nop")