summaryrefslogtreecommitdiff
path: root/kernel/power/tuxonice_pageflags.c
blob: 307d09f33e01fcd455a643b8d35d1e36f8370991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * kernel/power/tuxonice_pageflags.c
 *
 * Copyright (C) 2004-2015 Nigel Cunningham (nigel at nigelcunningham com au)
 *
 * This file is released under the GPLv2.
 *
 * Routines for serialising and relocating pageflags in which we
 * store our image metadata.
 */

#include "tuxonice_pageflags.h"
#include "power.h"

int toi_pageflags_space_needed(void)
{
	return memory_bm_space_needed(pageset1_map);
}