Re: [PATCH v2] powerpc: fix suspend states again

Johannes Berg
2007-04-30T12:40:53Z

[-- Attachment #1: Type: text/plain, Size: 451 bytes --]

> It would be good to avoid this duplication, or at least to use the
> flush_* calls instead of the enable_kernel_* calls.

I don't like calling prepare_to_copy() since I doubt somebody changing
prepare_to_copy will be aware that it is called there, but using the
flush calls seems appropriate. I had it this way because the original
code used enable_kernel_* and I was mostly copying around the code,
should have looked closer.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 190 bytes --]