summaryrefslogtreecommitdiffstats
path: root/include/linux/resume-trace.h
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2008-05-12 15:44:41 +0200
committerThomas Gleixner <tglx@linutronix.de>2008-05-25 07:09:47 +0200
commit63687a528c39a67c1a213cdffa09feb0e6af9dbe (patch)
tree0a21067f84d2495d37cc6fe864675db53ca56630 /include/linux/resume-trace.h
parent75d3bce2fc0a80f435fe12f2c9ed2632c8ac29e4 (diff)
downloadlinux-63687a528c39a67c1a213cdffa09feb0e6af9dbe.tar.gz
linux-63687a528c39a67c1a213cdffa09feb0e6af9dbe.tar.bz2
linux-63687a528c39a67c1a213cdffa09feb0e6af9dbe.zip
x86: move tracedata to RODATA
.. allowing it to be write-protected just as other read-only data under CONFIG_DEBUG_RODATA. Signed-off-by: Jan Beulich <jbeulich@novell.com> Signed-off-by: Ingo Molnar <mingo@elte.hu> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Diffstat (limited to 'include/linux/resume-trace.h')
-rw-r--r--include/linux/resume-trace.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/resume-trace.h b/include/linux/resume-trace.h
index f3f4f28c6960..c9ba2fdf807d 100644
--- a/include/linux/resume-trace.h
+++ b/include/linux/resume-trace.h
@@ -8,7 +8,7 @@ extern int pm_trace_enabled;
struct device;
extern void set_trace_device(struct device *);
-extern void generate_resume_trace(void *tracedata, unsigned int user);
+extern void generate_resume_trace(const void *tracedata, unsigned int user);
#define TRACE_DEVICE(dev) do { \
if (pm_trace_enabled) \