Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 35687
b: refs/heads/master
c: dcbb5a5
h: refs/heads/master
i:
  35685: cd31ee0
  35683: 60bf0f4
  35679: dfacf56
v: v3
  • Loading branch information
Rafael J. Wysocki authored and Linus Torvalds committed Sep 26, 2006
1 parent 85b7835 commit b8855f6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cd560bb2f9e2cd451bb3942af43da19632ba4a8e
refs/heads/master: dcbb5a54f6e3984efa24772394f2225b11495c55
15 changes: 3 additions & 12 deletions trunk/include/linux/suspend.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#include <linux/pm.h>

/* page backup entry */
typedef struct pbe {
struct pbe {
unsigned long address; /* address of the copy */
unsigned long orig_address; /* original address of page */
struct pbe *next;
} suspend_pagedir_t;
};

#define for_each_pbe(pbe, pblist) \
for (pbe = pblist ; pbe ; pbe = pbe->next)
Expand All @@ -25,15 +25,6 @@ typedef struct pbe {
#define for_each_pb_page(pbe, pblist) \
for (pbe = pblist ; pbe ; pbe = (pbe+PB_PAGE_SKIP)->next)


#define SWAP_FILENAME_MAXLENGTH 32


extern dev_t swsusp_resume_device;

/* mm/vmscan.c */
extern int shrink_mem(void);

/* mm/page_alloc.c */
extern void drain_local_pages(void);
extern void mark_free_pages(struct zone *zone);
Expand All @@ -53,7 +44,7 @@ static inline void pm_restore_console(void) {}
static inline int software_suspend(void)
{
printk("Warning: fake suspend called\n");
return -EPERM;
return -ENOSYS;
}
#endif /* CONFIG_PM */

Expand Down

0 comments on commit b8855f6

Please sign in to comment.