Kexec Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Horman <horms@verge.net.au>
To: "Edgar E. Iglesias" <edgar.iglesias@axis.com>
Cc: "Edgar E. Iglesias" <edgar@axis.com>,
	kexec@lists.infradead.org, jespern@axis.com
Subject: [PATCH] cris: add kexc_load syscall
Date: Wed, 8 Oct 2008 17:18:27 +1100	[thread overview]
Message-ID: <20081008061826.GH22396@verge.net.au> (raw)
In-Reply-To: <20081008061541.GF22396@verge.net.au>

From: Edgar E. Iglesias <edgar.iglesias@axis.com>

The released toolchain had an old list of syscalls (kexec_load was missing)
so I had to add a fallback definition:

Signed-off-by: Simon Horman <horms@verge.net.au>
---
 kexec/kexec-syscall.h |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

I have applied this patch to the kexec-tools git tree.

diff --git a/kexec/kexec-syscall.h b/kexec/kexec-syscall.h
index 2b9345f..4535716 100644
--- a/kexec/kexec-syscall.h
+++ b/kexec/kexec-syscall.h
@@ -28,6 +28,11 @@
 #ifdef __sh__
 #define __NR_kexec_load		283
 #endif
+#ifdef __cris__
+#ifndef __NR_kexec_load
+#define __NR_kexec_load		283
+#endif
+#endif
 #ifdef __ia64__
 #define __NR_kexec_load		1268
 #endif

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  parent reply	other threads:[~2008-10-08  6:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-04 14:08 [PATCH] cris: Add CRISv32 support Edgar E. Iglesias
2008-09-05  0:42 ` Simon Horman
2008-09-05  9:25   ` Edgar E. Iglesias
2008-10-08  6:15     ` Simon Horman
2008-10-08  6:17       ` [PATCH] Only use -fno-zero-initialized-in-bss if it is available Simon Horman
2008-10-08  6:18       ` Simon Horman [this message]
2008-10-08  6:19       ` [patch] cris: add cris architecture to configure Simon Horman

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=20081008061826.GH22396@verge.net.au \
    --to=horms@verge.net.au \
    --cc=edgar.iglesias@axis.com \
    --cc=edgar@axis.com \
    --cc=jespern@axis.com \
    --cc=kexec@lists.infradead.org \
    /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