/* * Common powerpc suspend code for 32 and 64 bits * * Copyright 2007 Johannes Berg <johannes@sipsolutions.net> * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version * 2 of the License, or (at your option) any later version. */ #include <linux/sched.h> #include <asm/current.h> #include <asm/mmu_context.h> #include <asm/switch_to.h>
void save_processor_state(void) { /* * flush out all the special registers so we don't need * to save them in the snapshot */ flush_all_to_thread(current); #ifdef CONFIG_PPC64 hard_irq_disable(); #endif }Contributors
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 20 | 95.24% | 2 | 66.67% |
Anton Blanchard | 1 | 4.76% | 1 | 33.33% |
Total | 21 | 100.00% | 3 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 19 | 76.00% | 1 | 25.00% |
Tang Yuantian | 3 | 12.00% | 1 | 25.00% |
Aneesh Kumar K.V | 2 | 8.00% | 1 | 25.00% |
Benjamin Herrenschmidt | 1 | 4.00% | 1 | 25.00% |
Total | 25 | 100.00% | 4 | 100.00% |
Person | Tokens | Prop | Commits | CommitProp |
Johannes Berg | 49 | 83.05% | 2 | 28.57% |
David Howells | 3 | 5.08% | 1 | 14.29% |
Tang Yuantian | 3 | 5.08% | 1 | 14.29% |
Aneesh Kumar K.V | 2 | 3.39% | 1 | 14.29% |
Benjamin Herrenschmidt | 1 | 1.69% | 1 | 14.29% |
Anton Blanchard | 1 | 1.69% | 1 | 14.29% |
Total | 59 | 100.00% | 7 | 100.00% |