diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-24 17:27:42 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-24 17:44:01 -0400 |
commit | eb71c87a492b7090ff9e8ac46912c480a1687e38 (patch) | |
tree | 1136213dee0f942866b6c2c65de7e7c63ca94fda /arch | |
parent | d384ea691fe4ea8c2dd5b9b8d9042eb181776f18 (diff) |
Add some basic resume trace facilities
Considering that there isn't a lot of hw we can depend on during resume,
this is about as good as it gets.
This is x86-only for now, although the basic concept (and most of the
code) will certainly work on almost any platform.
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/i386/kernel/vmlinux.lds.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/i386/kernel/vmlinux.lds.S b/arch/i386/kernel/vmlinux.lds.S index 8831303a473f..7512f39c9f25 100644 --- a/arch/i386/kernel/vmlinux.lds.S +++ b/arch/i386/kernel/vmlinux.lds.S | |||
@@ -37,6 +37,13 @@ SECTIONS | |||
37 | 37 | ||
38 | RODATA | 38 | RODATA |
39 | 39 | ||
40 | . = ALIGN(4); | ||
41 | __tracedata_start = .; | ||
42 | .tracedata : AT(ADDR(.tracedata) - LOAD_OFFSET) { | ||
43 | *(.tracedata) | ||
44 | } | ||
45 | __tracedata_end = .; | ||
46 | |||
40 | /* writeable */ | 47 | /* writeable */ |
41 | .data : AT(ADDR(.data) - LOAD_OFFSET) { /* Data */ | 48 | .data : AT(ADDR(.data) - LOAD_OFFSET) { /* Data */ |
42 | *(.data) | 49 | *(.data) |