/* SPDX-License-Identifier: GPL-2.0 */ /* * 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.13% | 5 | 31.25% |
David Howells | 110 | 23.76% | 1 | 6.25% |
Michael Ellerman | 90 | 19.44% | 2 | 12.50% |
Cyril Bur | 61 | 13.17% | 3 | 18.75% |
Kevin Hao | 35 | 7.56% | 2 | 12.50% |
Bharat Bhushan | 5 | 1.08% | 1 | 6.25% |
Leonidas Da Silva Barbosa | 3 | 0.65% | 1 | 6.25% |
Greg Kroah-Hartman | 1 | 0.22% | 1 | 6.25% |
Total | 463 | 100.00% | 16 | 100.00% |