/* * 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 | 162 | 35.06% | 6 | 37.50% |
David Howells | 109 | 23.59% | 1 | 6.25% |
Michael Ellerman | 90 | 19.48% | 2 | 12.50% |
Cyril Bur | 61 | 13.20% | 3 | 18.75% |
Kevin Hao | 35 | 7.58% | 2 | 12.50% |
Bharat Bhushan | 3 | 0.65% | 1 | 6.25% |
Leonidas Da Silva Barbosa | 2 | 0.43% | 1 | 6.25% |
Total | 462 | 100.00% | 16 | 100.00% |