import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / include / linux / notifier.h
index d14a4c362465712857d1ea8fe39b974a5c05c4ce..c32ca171c00e68f97ae60854f4ac032b5167f96f 100644 (file)
@@ -189,6 +189,20 @@ static inline int notifier_to_errno(int ret)
  */
  
 /* CPU notfiers are defined in include/linux/cpu.h. */
+/*******************************************************************************
+* 20131225 marc.huang                                                          *
+* CPU Hotplug debug mechanism                                                  *
+*******************************************************************************/
+/* 
+ * define MTK_CPU_HOTPLUG_DEBUG_0 for using printk to log cpu notify callback in register_cpu_notifier
+ * define MTK_CPU_HOTPLUG_DEBUG_1 for using printk to log cpu notify callback in notifier_call_chain
+ * define MTK_CPU_HOTPLUG_DEBUG_2 for using aee to log cpu notify callback in notifier_call_chain
+ */
+#define MTK_CPU_HOTPLUG_DEBUG_0
+//#define MTK_CPU_HOTPLUG_DEBUG_1
+#define MTK_CPU_HOTPLUG_DEBUG_2
+
+/******************************************************************************/
 
 /* netdevice notifiers are defined in include/linux/netdevice.h */