diff options
| author | Pavel Machek <pavel@suse.cz> | 2002-05-28 20:00:18 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.transmeta.com> | 2002-05-28 20:00:18 -0700 |
| commit | d72fb46388f794b3898498aa65416be2d1e29947 (patch) | |
| tree | 0689bc4e8e354f717ae188bec0b05111e1445bc5 /include/linux | |
| parent | 455980ab6088e867d138344c89b61de563bc49c2 (diff) | |
[PATCH] swsusp: cleanup
- use list_for_each in head_of_free_region
- cleanups from 2.4
- fix for usb
- kill broken queueing
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/suspend.h | 2 | ||||
| -rw-r--r-- | include/linux/tqueue.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/suspend.h b/include/linux/suspend.h index 3ede8ad27270..fa09ebfc582e 100644 --- a/include/linux/suspend.h +++ b/include/linux/suspend.h @@ -1,7 +1,9 @@ #ifndef _LINUX_SWSUSP_H #define _LINUX_SWSUSP_H +#if defined(SUSPEND_C) || defined(ACPI_C) #include <asm/suspend.h> +#endif #include <linux/swap.h> #include <linux/notifier.h> #include <linux/config.h> diff --git a/include/linux/tqueue.h b/include/linux/tqueue.h index a325ce1792c5..3d3047027229 100644 --- a/include/linux/tqueue.h +++ b/include/linux/tqueue.h @@ -66,7 +66,7 @@ typedef struct list_head task_queue; #define DECLARE_TASK_QUEUE(q) LIST_HEAD(q) #define TQ_ACTIVE(q) (!list_empty(&q)) -extern task_queue tq_timer, tq_immediate, tq_bdflush; +extern task_queue tq_timer, tq_immediate; /* * To implement your own list of active bottom halfs, use the following |
