mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Marc Zyngier <mzyngier@freesurf.fr>
To: akpm@digeo.com
Cc: torvalds@transmeta.com, linux-kernel@vger.kernel.org
Subject: [PATCH] Fix fs/binfmt_elf.c build
Date: 07 Mar 2003 09:05:26 +0100	[thread overview]
Message-ID: <wrpy93r61q1.fsf@hina.wild-wind.fr.eu.org> (raw)

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.

             reply	other threads:[~2003-03-07  7:56 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-07  8:05 Marc Zyngier [this message]
2003-03-07 16:18 ` Randy.Dunlap

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wrpy93r61q1.fsf@hina.wild-wind.fr.eu.org \
    --to=mzyngier@freesurf.fr \
    --cc=akpm@digeo.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=torvalds@transmeta.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®