aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-s390/system.h
diff options
context:
space:
mode:
authorDave Airlie <airlied@starflyer.(none)>2005-07-07 20:08:27 +1000
committerDave Airlie <airlied@linux.ie>2005-07-07 20:08:27 +1000
commit717cb906bd43a9ac00631d600adda5c6546843a6 (patch)
treef41b250e9e0fa1e664f002fa9c4608d94527f2f2 /include/asm-s390/system.h
parent22f579c621e2f264e6d093b07d75f99bc97d5df2 (diff)
parentc101f3136cc98a003d0d16be6fab7d0d950581a6 (diff)
downloadkernel_samsung_crespo-717cb906bd43a9ac00631d600adda5c6546843a6.zip
kernel_samsung_crespo-717cb906bd43a9ac00631d600adda5c6546843a6.tar.gz
kernel_samsung_crespo-717cb906bd43a9ac00631d600adda5c6546843a6.tar.bz2
Merge ../linux-2.6/
Diffstat (limited to 'include/asm-s390/system.h')
-rw-r--r--include/asm-s390/system.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/asm-s390/system.h b/include/asm-s390/system.h
index b4a9f05..864cae7 100644
--- a/include/asm-s390/system.h
+++ b/include/asm-s390/system.h
@@ -107,11 +107,9 @@ static inline void restore_access_regs(unsigned int *acrs)
#ifdef CONFIG_VIRT_CPU_ACCOUNTING
extern void account_user_vtime(struct task_struct *);
extern void account_system_vtime(struct task_struct *);
-#else
-#define account_system_vtime(prev) do { } while (0)
#endif
-#define finish_arch_switch(rq, prev) do { \
+#define finish_arch_switch(prev) do { \
set_fs(current->thread.mm_segment); \
account_system_vtime(prev); \
} while (0)