diff options
author | Anton Vorontsov <[email protected]> | 2009-09-16 01:43:52 +0400 |
---|---|---|
committer | Kumar Gala <[email protected]> | 2009-11-11 21:43:13 -0600 |
commit | 0c7b87b0857f0e17be982fd840046444a83c3996 (patch) | |
tree | 4a03a62678cd4725d5216dbf1fb550bed366908b /lib/cpu-notifier-error-inject.c | |
parent | dc2e673dbcbaebdf84c09956b85c3be3a8b7bd02 (diff) |
powerpc/qe: Make qe_reset() code path safe for repeated invocation
For MPC8569 CPUs we'll need to reset QE after each suspend, so make
qe_reset() code path suitable for repeated invocation, that is:
- Don't initialize rheap structures if already initialized;
- Don't allocate muram for SDMA if already allocated, just reinitialize
registers with previously allocated muram offset;
- Remove __init attributes from qe_reset() and cpm_muram_init();
Signed-off-by: Anton Vorontsov <[email protected]>
Signed-off-by: Kumar Gala <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions