Merge tag 'v4.1' into p/abusse/merge_upgrade
[projects/modsched/linux.git] / kernel / cpu.c
index 94bbe46..ef1d2b3 100644 (file)
 #include <linux/tick.h>
 #include <trace/events/power.h>
 
 #include <linux/tick.h>
 #include <trace/events/power.h>
 
+#ifdef CONFIG_MOD_SCHED
+    #include <fw_comm.h>
+#endif
+
 #include "smpboot.h"
 
 #ifdef CONFIG_SMP
 #include "smpboot.h"
 
 #ifdef CONFIG_SMP
@@ -561,6 +565,11 @@ int cpu_up(unsigned int cpu)
 
        err = _cpu_up(cpu, 0);
 
 
        err = _cpu_up(cpu, 0);
 
+#ifdef CONFIG_MOD_SCHED
+       if(!err)
+               fw_notify(FW_CPU_ONLINE,&cpu);
+#endif
+
 out:
        cpu_maps_update_done();
        return err;
 out:
        cpu_maps_update_done();
        return err;