diff options
author | Mike Frysinger <vapier@gentoo.org> | 2011-06-27 02:57:44 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2011-07-23 01:18:29 -0400 |
commit | d7228e7eb9bd9d65ddb5338fc9574f34ea6d53e1 (patch) | |
tree | 129795d5bcad41d8d86fc601b835a980f9e1686d /arch/blackfin/mach-common | |
parent | 584ecbaa258de953a9bc34ce4b978b0033e54dc4 (diff) |
Blackfin: dpmc: do not save/restore EVT0/EVT1/EVT4 when hibernating
EVT0 is for emulation, EVT1 is for reset, and EVT4 is the "global int
disable" region. None of these are used by software (or even hardware),
so don't bother saving/restoring them when we hibernate since nothing
ever uses these in Linux (the only thing they would be useful for is
core-memory scratch, but that's just crazy talk).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'arch/blackfin/mach-common')
-rw-r--r-- | arch/blackfin/mach-common/dpmc_modes.S | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/blackfin/mach-common/dpmc_modes.S b/arch/blackfin/mach-common/dpmc_modes.S index a36ca3c8da97..d814bf571231 100644 --- a/arch/blackfin/mach-common/dpmc_modes.S +++ b/arch/blackfin/mach-common/dpmc_modes.S | |||
@@ -464,11 +464,8 @@ ENTRY(_do_hibernate) | |||
464 | PM_PUSH(ICPLB_DATA13) | 464 | PM_PUSH(ICPLB_DATA13) |
465 | PM_PUSH(ICPLB_DATA14) | 465 | PM_PUSH(ICPLB_DATA14) |
466 | PM_PUSH(ICPLB_DATA15) | 466 | PM_PUSH(ICPLB_DATA15) |
467 | PM_PUSH(EVT0) | ||
468 | PM_PUSH(EVT1) | ||
469 | PM_PUSH(EVT2) | 467 | PM_PUSH(EVT2) |
470 | PM_PUSH(EVT3) | 468 | PM_PUSH(EVT3) |
471 | PM_PUSH(EVT4) | ||
472 | PM_PUSH(EVT5) | 469 | PM_PUSH(EVT5) |
473 | PM_PUSH(EVT6) | 470 | PM_PUSH(EVT6) |
474 | PM_PUSH(EVT7) | 471 | PM_PUSH(EVT7) |
@@ -622,11 +619,8 @@ ENTRY(_do_hibernate) | |||
622 | PM_POP(EVT7) | 619 | PM_POP(EVT7) |
623 | PM_POP(EVT6) | 620 | PM_POP(EVT6) |
624 | PM_POP(EVT5) | 621 | PM_POP(EVT5) |
625 | PM_POP(EVT4) | ||
626 | PM_POP(EVT3) | 622 | PM_POP(EVT3) |
627 | PM_POP(EVT2) | 623 | PM_POP(EVT2) |
628 | PM_POP(EVT1) | ||
629 | PM_POP(EVT0) | ||
630 | PM_POP(ICPLB_DATA15) | 624 | PM_POP(ICPLB_DATA15) |
631 | PM_POP(ICPLB_DATA14) | 625 | PM_POP(ICPLB_DATA14) |
632 | PM_POP(ICPLB_DATA13) | 626 | PM_POP(ICPLB_DATA13) |