summaryrefslogtreecommitdiffstats
path: root/arch/mn10300/include/asm/elf.h
diff options
context:
space:
mode:
authorJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-12 17:02:03 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-12 17:02:03 +0200
commit82681a318f9f028ea64e61f24bbd9ac535531921 (patch)
tree529b6a5b4fd040fb54b7672b1a224ebd47445876 /arch/mn10300/include/asm/elf.h
parent[SCSI] osd: Remove out-of-tree left overs (diff)
parentblock: fix kernel-doc in recent block/ changes (diff)
downloadlinux-82681a318f9f028ea64e61f24bbd9ac535531921.tar.xz
linux-82681a318f9f028ea64e61f24bbd9ac535531921.zip
[SCSI] Merge branch 'linus'
Conflicts: drivers/message/fusion/mptsas.c fixed up conflict between req->data_len accessors and mptsas driver updates. Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'arch/mn10300/include/asm/elf.h')
-rw-r--r--arch/mn10300/include/asm/elf.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/mn10300/include/asm/elf.h b/arch/mn10300/include/asm/elf.h
index bf09f8bb392e..49105462e6fc 100644
--- a/arch/mn10300/include/asm/elf.h
+++ b/arch/mn10300/include/asm/elf.h
@@ -34,7 +34,7 @@
*/
typedef unsigned long elf_greg_t;
-#define ELF_NGREG (sizeof (struct pt_regs) / sizeof(elf_greg_t))
+#define ELF_NGREG ((sizeof(struct pt_regs) / sizeof(elf_greg_t)) - 1)
typedef elf_greg_t elf_gregset_t[ELF_NGREG];
#define ELF_NFPREG 32
@@ -76,6 +76,7 @@ do { \
} while (0)
#define USE_ELF_CORE_DUMP
+#define CORE_DUMP_USE_REGSET
#define ELF_EXEC_PAGESIZE 4096
/*