Complete the renaming to TuxOnIce with function names, vars etc.
[linux-2.6/suspend2-head.git] / kernel / power / tuxonice_atomic_copy.h
blobef1d0321c34837930a38a211cab7ad62ef27d69c
1 /*
2 * kernel/power/tuxonice_atomic_copy.h
4 * Copyright 2007 Nigel Cunningham (nigel at suspend2 net)
6 * Distributed under GPLv2.
8 * Routines for doing the atomic save/restore.
9 */
11 enum {
12 ATOMIC_ALL_STEPS,
13 ATOMIC_STEP_IRQS,
14 ATOMIC_STEP_CPU_HOTPLUG,
15 ATOMIC_STEP_DEVICE_RESUME,
16 ATOMIC_STEP_RESUME_CONSOLE,
17 ATOMIC_STEP_RESTORE_CONSOLE
20 int toi_go_atomic(pm_message_t state, int toi_time);
21 void toi_end_atomic(int stage, int toi_time);