aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/init.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/init.h')
-rw-r--r--include/linux/init.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/init.h b/include/linux/init.h
index 9146f39..5e869b7 100644
--- a/include/linux/init.h
+++ b/include/linux/init.h
@@ -199,6 +199,10 @@ extern int initcall_debug;
#define postcore_initcall_sync(fn) __define_initcall("2s",fn,2s)
#define arch_initcall(fn) __define_initcall("3",fn,3)
#define arch_initcall_sync(fn) __define_initcall("3s",fn,3s)
+#ifdef CONFIG_FAST_RESUME
+#define beforeresume_initcall(fn) __define_initcall("bresume",fn,bresume)
+#define resume_initcall(fn) __define_initcall("resume",fn,resume)
+#endif
#define subsys_initcall(fn) __define_initcall("4",fn,4)
#define subsys_initcall_sync(fn) __define_initcall("4s",fn,4s)
#define fs_initcall(fn) __define_initcall("5",fn,5)