* [PATCH] s390: fix finish_arch_switch
@ 2005-06-29 8:21 Heiko Carstens
0 siblings, 0 replies; only message in thread
From: Heiko Carstens @ 2005-06-29 8:21 UTC (permalink / raw)
To: Andrew Morton, linux-kernel; +Cc: Martin Schwidefsky
Commit 4866cde064afbb6c2a488c265e696879de616daa requires finish_arch_switch
to have only one parameter instead of two.
Also fix another compile error (double declaration of account_system_vtime) if
CONFIG_VIRT_CPU_ACCOUNTING is not defined.
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
diffstat:
include/asm-s390/system.h | 4 +---
1 files changed, 1 insertion(+), 3 deletions(-)
diff -urN a/include/asm-s390/system.h b/include/asm-s390/system.h
--- a/include/asm-s390/system.h 2005-06-29 09:39:40.000000000 +0200
+++ b/include/asm-s390/system.h 2005-06-29 09:40:20.000000000 +0200
@@ -107,11 +107,9 @@
#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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-06-29 8:22 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-06-29 8:21 [PATCH] s390: fix finish_arch_switch Heiko Carstens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®