Skip to contentSkip to conversation

svn commit: trunk/buildroot/package/kexec

Buildroot ulf at uclibc.org 3 participants 3 messages Oct 18, 2007

lore
Share & tools
lore
#0 lore 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
===================================================================

buildroot/package/kexec/kexec-tools-002-add-arch-arm.patch +13 -2
@@ -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.
#1 lore raw
Quoted 9 lines · ulf at uclibc.org

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

Thanks Ulf. Are patches related to bugs preferred on the mailing list or in the bug tracker?

Hamish

Signature · 1 line
Hamish Moffatt VK3SB <[email protected]> <[email protected]>
#2 lore raw

tor 2007-10-18 klockan 15:47 +1000 skrev Hamish Moffatt:

Quoted 5 lines · ulf at uclibc.org
Quoted 4 lines

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

Quoted 9 lines
Quoted 5 lines

Log:
Fix kexec build for ARM

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

Thanks Ulf. Are patches related to bugs preferred on the mailing list or in the bug tracker?

The advantage of using the bug tracker, is that the bug is tracked.

Quoted 1 line

Hamish

Signature · 7 lines
Best Regards,
Ulf Samuelsson          mail:   ulf at atmel.com
Atmel Nordic AB
Box 2033, 174 52 Sundbyberg
Kavalleriv?gen 24, 174 58 Sundbyberg
Sweden
Tel:    +46 8 441 54 22 GSM:    +46 706 224457