mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nigel Cunningham <nigel@suspend2.net>
To: linux-kernel@vger.kernel.org
Subject: [Suspend2][ 1/7] [Suspend2] Pagedir.h
Date: Tue, 27 Jun 2006 08:31:33 +1000	[thread overview]
Message-ID: <20060626223131.3725.40537.stgit@nigel.suspend2.net> (raw)
In-Reply-To: <20060626223128.3725.55605.stgit@nigel.suspend2.net>

Add pagedir structs and declarations for variables and functions exported
from pagedir.c.

Signed-off-by: Nigel Cunningham <nigel@suspend2.net>

 kernel/power/pageflags.c |   28 ++++++++++++++++++++++++++++
 1 files changed, 28 insertions(+), 0 deletions(-)

diff --git a/kernel/power/pageflags.c b/kernel/power/pageflags.c
new file mode 100644
index 0000000..81f0825
--- /dev/null
+++ b/kernel/power/pageflags.c
@@ -0,0 +1,28 @@
+/*
+ * kernel/power/pageflags.c
+ *
+ * Copyright (C) 2004-2006 Nigel Cunningham <nigel@suspend2.net>
+ * 
+ * This file is released under the GPLv2.
+ *
+ * Routines for serialising and relocating pageflags in which we
+ * store our image metadata.
+ *
+ */
+
+#include <linux/kernel.h>
+#include <linux/mm.h>
+#include <linux/module.h>
+#include <linux/bitops.h>
+#include <linux/list.h>
+#include <linux/suspend.h>
+#include "pageflags.h"
+#include "modules.h"
+#include "pagedir.h"
+
+/* Maps used in copying the image back are in builtin.c */
+dyn_pageflags_t pageset1_map;
+dyn_pageflags_t pageset1_copy_map;
+dyn_pageflags_t pageset2_map;
+dyn_pageflags_t in_use_map;
+

--
Nigel Cunningham		nigel at suspend2 dot net

  reply	other threads:[~2006-06-26 22:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-26 22:31 [Suspend2][ 0/7] Pageflags support Nigel Cunningham
2006-06-26 22:31 ` Nigel Cunningham [this message]
2006-06-26 22:31 ` [Suspend2][ 2/7] [Suspend2] Return number of zones used Nigel Cunningham
2006-06-26 22:31 ` [Suspend2][ 3/7] [Suspend2] Pages for zone Nigel Cunningham
2006-06-26 22:31 ` [Suspend2][ 4/7] [Suspend2] Space needed to store one set of pageflags Nigel Cunningham
2006-06-26 22:31 ` [Suspend2][ 5/7] [Suspend2] Serialise pageflags Nigel Cunningham
2006-06-26 22:31 ` [Suspend2][ 6/7] [Suspend2] Relocate pageflags Nigel Cunningham
2006-06-26 22:31 ` [Suspend2][ 7/7] [Suspend2] Pageflags.h Nigel Cunningham

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060626223131.3725.40537.stgit@nigel.suspend2.net \
    --to=nigel@suspend2.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®