Commit | Line | Data |
---|---|---|
6fa3eb70 S |
1 | /* |
2 | * Copyright (C) 2004-2010 Nigel Cunningham (nigel at tuxonice net) | |
3 | * | |
4 | * This file is released under the GPLv2. | |
5 | */ | |
6 | #include <asm/setup.h> | |
7 | ||
8 | extern struct toi_core_fns *toi_core_fns; | |
9 | extern unsigned long toi_compress_bytes_in, toi_compress_bytes_out; | |
10 | extern unsigned int nr_hibernates; | |
11 | extern int toi_in_hibernate; | |
12 | ||
13 | extern __nosavedata struct pbe *restore_highmem_pblist; | |
14 | ||
15 | int toi_lowlevel_builtin(void); | |
16 | ||
17 | #ifdef CONFIG_HIGHMEM | |
18 | extern __nosavedata struct zone_data *toi_nosave_zone_list; | |
19 | extern __nosavedata unsigned long toi_nosave_max_pfn; | |
20 | #endif | |
21 | ||
22 | extern unsigned long toi_get_nonconflicting_page(void); | |
23 | extern int toi_post_context_save(void); | |
24 | ||
25 | extern char toi_wait_for_keypress_dev_console(int timeout); | |
26 | extern struct block_device *toi_open_by_devnum(dev_t dev); | |
27 | extern void toi_close_bdev(struct block_device *bdev); | |
28 | extern int toi_wait; | |
29 | extern int toi_translate_err_default; | |
30 | extern int toi_force_no_multithreaded; | |
31 | extern void toi_read_lock_tasklist(void); | |
32 | extern void toi_read_unlock_tasklist(void); | |
33 | extern int toi_in_suspend(void); | |
34 | ||
35 | #ifdef CONFIG_TOI_ZRAM_SUPPORT | |
36 | extern int toi_do_flag_zram_disks(void); | |
37 | #else | |
38 | #define toi_do_flag_zram_disks() (0) | |
39 | #endif |