[Title] fix a boot-fail problem
authorSon Hyunjun <hj79.son@samsung.com>
Wed, 8 Feb 2012 06:33:49 +0000 (15:33 +0900)
committerSon Hyunjun <hj79.son@samsung.com>
Wed, 8 Feb 2012 06:33:49 +0000 (15:33 +0900)
[Type] Bugfix
[Module] Emulator / PM(Power Management)
[Priority] Major
[CQ#]
[Redmine#]
[Problem] Fail to boot at initial boot on a slow PC.
[Cause] Emulator has a wrong suspend operation.
[Solution] workaround : reject a suspend request in kernel api.

Change-Id: Ice8dd179e330aa7e2c494b65982f9cfc4755a5d2

kernel/power/suspend.c

index 6f10dfc2d3e9f79a0a57cd73b8a70ad2cc90d22b..b4d0787f4754e15ad1c1316873faa9ccd870bd7f 100644 (file)
@@ -253,6 +253,9 @@ static void suspend_finish(void)
  */
 int enter_state(suspend_state_t state)
 {
+       //XXX reject a suspend request temporarily in x86 Emulator until fix a suspend problem.
+       return 0;
+
        int error;
 
        if (!valid_state(state))