process.c (0612ec48762bf8712db1925b2e67246d2237ebab) process.c (7dfb71030f7636a0d65200158113c37764552f93)
1/*
2 * drivers/power/process.c - Functions for starting/stopping processes on
3 * suspend transitions.
4 *
5 * Originally from swsusp.
6 */
7
8
9#undef DEBUG
10
11#include <linux/smp_lock.h>
12#include <linux/interrupt.h>
13#include <linux/suspend.h>
14#include <linux/module.h>
15#include <linux/syscalls.h>
1/*
2 * drivers/power/process.c - Functions for starting/stopping processes on
3 * suspend transitions.
4 *
5 * Originally from swsusp.
6 */
7
8
9#undef DEBUG
10
11#include <linux/smp_lock.h>
12#include <linux/interrupt.h>
13#include <linux/suspend.h>
14#include <linux/module.h>
15#include <linux/syscalls.h>
16#include <linux/freezer.h>
16
17/*
18 * Timeout for stopping processes
19 */
20#define TIMEOUT (20 * HZ)
21
22
23static inline int freezeable(struct task_struct * p)

--- 151 unchanged lines hidden ---
17
18/*
19 * Timeout for stopping processes
20 */
21#define TIMEOUT (20 * HZ)
22
23
24static inline int freezeable(struct task_struct * p)

--- 151 unchanged lines hidden ---