/* * Suspend support specific for mips. * * Licensed under the GPLv2 * * Copyright (C) 2009 Lemote Inc. * Author: Hu Hongbing <huhb@lemote.com> * Wu Zhangjin <wuzhangjin@gmail.com> */ #include <asm/sections.h> #include <asm/fpu.h> #include <asm/dsp.h> static u32 saved_status; struct pt_regs saved_regs;
void save_processor_state(void) { saved_status = read_c0_status(); if (is_fpu_owner()) save_fp(current); if (cpu_has_dsp) save_dsp(current); }Contributors
| Person | Tokens | Prop | Commits | CommitProp | |
| wu zhangjin | wu zhangjin | 31 | 100.00% | 1 | 100.00% |
| Total | 31 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| wu zhangjin | wu zhangjin | 31 | 100.00% | 1 | 100.00% |
| Total | 31 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| wu zhangjin | wu zhangjin | 48 | 100.00% | 1 | 100.00% |
| Total | 48 | 100.00% | 1 | 100.00% |
| Person | Tokens | Prop | Commits | CommitProp | |
| wu zhangjin | wu zhangjin | 126 | 98.44% | 1 | 33.33% |
| ralf baechle | ralf baechle | 1 | 0.78% | 1 | 33.33% |
| geert uytterhoeven | geert uytterhoeven | 1 | 0.78% | 1 | 33.33% |
| Total | 128 | 100.00% | 3 | 100.00% |