Commit 59711c66 authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] swsusp-try_to_freeze-to-make-freezing-hooks-nicer fix

In file included from include/linux/ptrace.h:77,
                 from arch/ppc64/lib/sstep.c:12:
include/linux/sched.h: In function `freeze_processes':
include/linux/sched.h:1189: warning: no return statement in function returning non-void
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 54820fb2
......@@ -1144,7 +1144,7 @@ static inline int try_to_freeze(unsigned long refrigerator_flags)
}
#else
static inline void refrigerator(unsigned long flag) {}
static inline int freeze_processes(void) { BUG(); }
static inline int freeze_processes(void) { BUG(); return 0; }
static inline void thaw_processes(void) {}
static inline int try_to_freeze(unsigned long refrigerator_flags)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment