BACKPORT: fs: kernfs: add poll file operation
[GitHub/LineageOS/android_kernel_motorola_exynos9610.git] / kernel / cpu_pm.c
index 67b02e138a472da5f908a6eb2156887e058d0704..ea4135831b331a26affa7f708d64fd33546cdfb1 100644 (file)
@@ -104,6 +104,12 @@ int cpu_pm_enter(void)
 }
 EXPORT_SYMBOL_GPL(cpu_pm_enter);
 
+int cpu_pm_enter_pre(void)
+{
+       return cpu_pm_notify(CPU_PM_ENTER_PREPARE, -1, NULL);
+}
+EXPORT_SYMBOL_GPL(cpu_pm_enter_pre);
+
 /**
  * cpu_pm_exit - CPU low power exit notifier
  *
@@ -122,6 +128,12 @@ int cpu_pm_exit(void)
 }
 EXPORT_SYMBOL_GPL(cpu_pm_exit);
 
+int cpu_pm_exit_post(void)
+{
+       return cpu_pm_notify(CPU_PM_EXIT_POST, -1, NULL);
+}
+EXPORT_SYMBOL_GPL(cpu_pm_exit_post);
+
 /**
  * cpu_cluster_pm_enter - CPU cluster low power entry notifier
  *