/* * 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 | anton blanchard | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
cyril bur | cyril bur | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
cyril bur | cyril bur | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
kevin hao | kevin hao | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
anton blanchard | anton blanchard | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
cyril bur | cyril bur | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
cyril bur | cyril bur | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
anton blanchard | anton blanchard | 18 | 100.00% | 1 | 100.00% |
Total | 18 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
anton blanchard | anton blanchard | 14 | 100.00% | 1 | 100.00% |
Total | 14 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
cyril bur | cyril bur | 11 | 100.00% | 1 | 100.00% |
Total | 11 | 100.00% | 1 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
michael ellerman | michael ellerman | 90 | 100.00% | 2 | 100.00% |
Total | 90 | 100.00% | 2 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp | |
anton blanchard | anton blanchard | 162 | 35.06% | 6 | 37.50% |
david howells | david howells | 109 | 23.59% | 1 | 6.25% |
michael ellerman | michael ellerman | 90 | 19.48% | 2 | 12.50% |
cyril bur | cyril bur | 61 | 13.20% | 3 | 18.75% |
kevin hao | kevin hao | 35 | 7.58% | 2 | 12.50% |
bharat bhushan | bharat bhushan | 3 | 0.65% | 1 | 6.25% |
leonidas da silva barbosa | leonidas da silva barbosa | 2 | 0.43% | 1 | 6.25% |
Total | 462 | 100.00% | 16 | 100.00% |