aboutsummaryrefslogtreecommitdiffstats
path: root/xen/common/kexec.c
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@xensource.com>2007-01-22 15:40:12 +0000
committerIan Campbell <ian.campbell@xensource.com>2007-01-22 15:40:12 +0000
commitd50b445579462c9953d9352d3e0e000568e1171d (patch)
tree8ac793b20edfa5490e6f9df79832884ee86799c8 /xen/common/kexec.c
parent2bdecd53829f618ae71e2f67e5cd1c122643eb8e (diff)
downloadxen-d50b445579462c9953d9352d3e0e000568e1171d.tar.gz
xen-d50b445579462c9953d9352d3e0e000568e1171d.tar.bz2
xen-d50b445579462c9953d9352d3e0e000568e1171d.zip
[XEN] Consolidate multiple defintions of ELFNOTE_* accessor macros
Signed-off-by: Ian Campbell <ian.campbell@xensource.com>
Diffstat (limited to 'xen/common/kexec.c')
-rw-r--r--xen/common/kexec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/xen/common/kexec.c b/xen/common/kexec.c
index c165745891..5727cdcaa8 100644
--- a/xen/common/kexec.c
+++ b/xen/common/kexec.c
@@ -26,11 +26,6 @@
typedef long ret_t;
-#define ELFNOTE_ALIGN(_n_) (((_n_)+3)&~3)
-#define ELFNOTE_NAME(_n_) ((char*)(_n_) + sizeof(*(_n_)))
-#define ELFNOTE_DESC(_n_) (ELFNOTE_NAME(_n_) + ELFNOTE_ALIGN((_n_)->namesz))
-#define ELFNOTE_NEXT(_n_) ((Elf_Note *)(ELFNOTE_DESC(_n_) + ELFNOTE_ALIGN((_n_)->descsz)))
-
static DEFINE_PER_CPU(void *, crash_notes);
static Elf_Note *xen_crash_note;