mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] Fix fs/binfmt_elf.c build
@ 2003-03-07  8:05 Marc Zyngier
  2003-03-07 16:18 ` Randy.Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Marc Zyngier @ 2003-03-07  8:05 UTC (permalink / raw)
  To: akpm; +Cc: torvalds, linux-kernel

Andi,

The stack reducing patch that recently went in prevent alpha from
building (missing some ELF_CORE_COPY_XFPREGS ifdefs). The excluded
patch fixes it.

Thanks,

        M.

# This is a BitKeeper generated patch for the following project:
# Project Name: Linux kernel tree
# This patch format is intended for GNU patch command version 2.5 or higher.
# This patch includes the following deltas:
#	           ChangeSet	1.1046  -> 1.1047 
#	     fs/binfmt_elf.c	1.39    -> 1.40   
#
# The following is the BitKeeper ChangeSet Log
# --------------------------------------------
# 03/03/07	maz@hina.wild-wind.fr.eu.org	1.1047
# fs/binfmt_elf.c : #ifdef XFPREGS stuff when needed.
# --------------------------------------------
#
diff -Nru a/fs/binfmt_elf.c b/fs/binfmt_elf.c
--- a/fs/binfmt_elf.c	Fri Mar  7 09:00:08 2003
+++ b/fs/binfmt_elf.c	Fri Mar  7 09:00:08 2003
@@ -1194,7 +1194,9 @@
  	LIST_HEAD(thread_list);
  	struct list_head *t;
 	elf_fpregset_t *fpu = NULL;
+#ifdef ELF_CORE_COPY_XFPREGS
 	elf_fpxregset_t *xfpu = NULL;
+#endif
 	int thread_status_size = 0;
 
 	/*
@@ -1400,7 +1402,9 @@
 	kfree(psinfo);
 	kfree(notes);
 	kfree(fpu);
+#ifdef ELF_CORE_COPY_XFPREGS
 	kfree(xfpu);
+#endif
 	return has_dumped;
 #undef NUM_NOTES
 }

-- 
Places change, faces change. Life is so very strange.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] Fix fs/binfmt_elf.c build
  2003-03-07  8:05 [PATCH] Fix fs/binfmt_elf.c build Marc Zyngier
@ 2003-03-07 16:18 ` Randy.Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy.Dunlap @ 2003-03-07 16:18 UTC (permalink / raw)
  To: mzyngier; +Cc: akpm, torvalds, linux-kernel

On 07 Mar 2003 09:05:26 +0100 Marc Zyngier <mzyngier@freesurf.fr> wrote:

| Andi,
| 
| The stack reducing patch that recently went in prevent alpha from
| building (missing some ELF_CORE_COPY_XFPREGS ifdefs). The excluded
| patch fixes it.
| 
| Thanks,

Ugh, sorry about that.

--
~Randy

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-07 16:09 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-07  8:05 [PATCH] Fix fs/binfmt_elf.c build Marc Zyngier
2003-03-07 16:18 ` Randy.Dunlap

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®