projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] fbdev: Sanitize ->fb_mmap prototype
[powerpc.git]
/
include
/
asm-s390
/
system.h
diff --git
a/include/asm-s390/system.h
b/include/asm-s390/system.h
index
864cae7
..
b2e65e8
100644
(file)
--- a/
include/asm-s390/system.h
+++ b/
include/asm-s390/system.h
@@
-104,14
+104,25
@@
static inline void restore_access_regs(unsigned int *acrs)
prev = __switch_to(prev,next); \
} while (0)
prev = __switch_to(prev,next); \
} while (0)
+/*
+ * On SMP systems, when the scheduler does migration-cost autodetection,
+ * it needs a way to flush as much of the CPU's caches as possible.
+ *
+ * TODO: fill this in!
+ */
+static inline void sched_cacheflush(void)
+{
+}
+
#ifdef CONFIG_VIRT_CPU_ACCOUNTING
#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 *);
#endif
#define finish_arch_switch(prev) do { \
set_fs(current->thread.mm_segment); \
extern void account_system_vtime(struct task_struct *);
#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")
} while (0)
#define nop() __asm__ __volatile__ ("nop")