powersave.S (c1f3ee120bb61045b1c0a3ead620d1d65af47130) | powersave.S (b1576fec7f4dd4657694fefc97fda4cf28ec68e9) |
---|---|
1/* 2 * Copyright (C) 2006-2007 PA Semi, Inc 3 * 4 * Maintained by: Olof Johansson <olof@lixom.net> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 52 unchanged lines hidden (view full) --- 61sleep_common: 62 mflr r0 63 std r0, 16(r1) 64 stdu r1,-64(r1) 65#ifdef CONFIG_PPC_PASEMI_CPUFREQ 66 std r3, 48(r1) 67 68 /* Only do power savings when in astate 0 */ | 1/* 2 * Copyright (C) 2006-2007 PA Semi, Inc 3 * 4 * Maintained by: Olof Johansson <olof@lixom.net> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License version 2 as 8 * published by the Free Software Foundation. --- 52 unchanged lines hidden (view full) --- 61sleep_common: 62 mflr r0 63 std r0, 16(r1) 64 stdu r1,-64(r1) 65#ifdef CONFIG_PPC_PASEMI_CPUFREQ 66 std r3, 48(r1) 67 68 /* Only do power savings when in astate 0 */ |
69 bl .check_astate | 69 bl check_astate |
70 cmpwi r3,0 71 bne 1f 72 73 ld r3, 48(r1) 74#endif 75 LOAD_REG_IMMEDIATE(r6,MSR_DR|MSR_IR|MSR_ME|MSR_EE) 76 mfmsr r4 77 andc r5,r4,r6 --- 12 unchanged lines hidden --- | 70 cmpwi r3,0 71 bne 1f 72 73 ld r3, 48(r1) 74#endif 75 LOAD_REG_IMMEDIATE(r6,MSR_DR|MSR_IR|MSR_ME|MSR_EE) 76 mfmsr r4 77 andc r5,r4,r6 --- 12 unchanged lines hidden --- |