/* * Copyright (C) 1999 Cort Dougan <cort@cs.nmt.edu> */ #ifndef _ASM_POWERPC_SWITCH_TO_H #define _ASM_POWERPC_SWITCH_TO_H #include <asm/reg.h> struct thread_struct; struct task_struct; struct pt_regs; extern struct task_struct *__switch_to(struct task_struct *, struct task_struct *); #define switch_to(prev, next, last) ((last) = __switch_to((prev), (next))) extern struct task_struct *_switch(struct thread_struct *prev, struct thread_struct *next); extern void switch_booke_debug_regs(struct debug_reg *new_debug); extern int emulate_altivec(struct pt_regs *); extern void flush_all_to_thread(struct task_struct *); extern void giveup_all(struct task_struct *); #ifdef CONFIG_PPC_FPU extern void enable_kernel_fp(void); extern void flush_fp_to_thread(struct task_struct *); extern void giveup_fpu(struct task_struct *); extern void save_fpu(struct task_struct *);
static inline void disable_kernel_fp(void) { msr_check_and_clear(MSR_FP); }Contributors
| Person | Tokens | Prop | Commits | CommitProp |
| Anton Blanchard | 14 | 100.00% | 1 | 100.00% |
| Total | 14 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Cyril Bur | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Cyril Bur | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Kevin Hao | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Anton Blanchard | 14 | 100.00% | 1 | 100.00% |
| Total | 14 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Cyril Bur | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Cyril Bur | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Anton Blanchard | 18 | 100.00% | 1 | 100.00% |
| Total | 18 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Anton Blanchard | 14 | 100.00% | 1 | 100.00% |
| Total | 14 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Cyril Bur | 11 | 100.00% | 1 | 100.00% |
| Total | 11 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Michael Ellerman | 90 | 100.00% | 2 | 100.00% |
| Total | 90 | 100.00% | 2 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp |
| Anton Blanchard | 158 | 34.20% | 5 | 33.33% |
| David Howells | 110 | 23.81% | 1 | 6.67% |
| Michael Ellerman | 90 | 19.48% | 2 | 13.33% |
| Cyril Bur | 61 | 13.20% | 3 | 20.00% |
| Kevin Hao | 35 | 7.58% | 2 | 13.33% |
| Bharat Bhushan | 5 | 1.08% | 1 | 6.67% |
| Leonidas Da Silva Barbosa | 3 | 0.65% | 1 | 6.67% |
| Total | 462 | 100.00% | 15 | 100.00% |