Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: ulf at uclibc.org <ulf@uclibc.org>
To: buildroot@busybox.net
Subject: [Buildroot] svn commit: trunk/buildroot/package/kexec
Date: Wed, 17 Oct 2007 22:26:07 -0700 (PDT)	[thread overview]
Message-ID: <20071018052607.AFA1AA458C@busybox.net> (raw)

Author: ulf
Date: 2007-10-17 22:26:06 -0700 (Wed, 17 Oct 2007)
New Revision: 20278

Log:
Fix kexec build for ARM

Modified:
   trunk/buildroot/package/kexec/kexec-tools-002-add-arch-arm.patch


Changeset:
Modified: trunk/buildroot/package/kexec/kexec-tools-002-add-arch-arm.patch
===================================================================
--- trunk/buildroot/package/kexec/kexec-tools-002-add-arch-arm.patch	2007-10-17 22:01:58 UTC (rev 20277)
+++ trunk/buildroot/package/kexec/kexec-tools-002-add-arch-arm.patch	2007-10-18 05:26:06 UTC (rev 20278)
@@ -5,7 +5,7 @@
  	i?86 )
  		host_cpu="i386"
  		;;
-+	arm )
++	arm* )
 +		host_cpu="arm"
 +		;;
  	powerpc )
@@ -76,7 +76,7 @@
 +static struct memory_range memory_range[MAX_MEMORY_RANGES];
 +
 +/* Return a sorted list of available memory ranges. */
-+int get_memory_ranges(struct memory_range **range, int *ranges)
++int get_memory_ranges(struct memory_range **range, int *ranges, unsigned long kexec_flags)
 +{
 +	const char iomem[]= "/proc/iomem";
 +	int memory_ranges = 0;
@@ -385,3 +385,14 @@
 +typedef signed long long   int64_t;
 +
 +#endif /* STDINT_H */
+--- kexec-tools-1.101/kexec/kexec-syscall.h.orig	2007-10-18 14:28:44.000000000 +1000
++++ kexec-tools-1.101/kexec/kexec-syscall.h	2007-10-18 14:28:57.000000000 +1000
+@@ -44,7 +44,7 @@
+ #define __NR_kexec_load		277
+ #endif
+ #ifdef __arm__
+-#define __NR_kexec_load		__NR_SYSCALL_BASE + 189  
++#define __NR_kexec_load		__NR_SYSCALL_BASE + 347  
+ #endif
+ #ifndef __NR_kexec_load
+ #error Unknown processor architecture.  Needs a kexec_load syscall number.

             reply	other threads:[~2007-10-18  5:26 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-18  5:26 ulf at uclibc.org [this message]
2007-10-18  5:47 ` [Buildroot] svn commit: trunk/buildroot/package/kexec Hamish Moffatt
2007-10-18  6:16   ` Ulf Samuelsson
  -- strict thread matches above, loose matches on Subject: below --
2009-02-21 19:13 jacmet at uclibc.org
2008-05-28  1:21 hamish at uclibc.org
2007-07-27  7:34 ulf at uclibc.org
2007-07-27 10:32 ` Bernhard Fischer
2007-07-24 14:06 ulf at uclibc.org
2007-07-24 14:05 ` Bernhard Fischer
2007-01-24 19:11 aldot at uclibc.org
2007-01-23 11:47 aldot at uclibc.org
2007-01-22 14:59 aldot at uclibc.org
2006-12-20 17:40 aldot at uclibc.org
2006-12-20 16:50 aldot at uclibc.org
2006-12-20 17:01 ` Petr Stetiar
2007-01-22 16:45   ` Bernhard Fischer
2006-12-20 14:41 aldot at uclibc.org

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=20071018052607.AFA1AA458C@busybox.net \
    --to=ulf@uclibc.org \
    --cc=buildroot@busybox.net \
    /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