kernel: cpu: send CPU_UP_CANCELLED notifcation

If any of the callbacks during cpu up fail undo_cpu_up calls the
teardown call backs to clean up things but does not send CPU_UP_CANCELLED.
As some drivers still use the notification mechanism for cpu houplug we
need to send CPU_UP_CANCELLED notification so drivers can clean up
things they did on cpu up.

Change-Id: Ia7fb79ff4d7919dc6dacd046c1ce250498371a63
Signed-off-by: Channagoud Kadabi <ckadabi@codeaurora.org>
diff --git a/kernel/cpu.c b/kernel/cpu.c
index 8ac83e5..98eb4fb 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -494,6 +494,7 @@
 		if (ret) {
 			st->target = prev_state;
 			undo_cpu_up(cpu, st);
+			cpu_notify(CPU_UP_CANCELED, cpu);
 			break;
 		}
 	}