Resolves: bz 396361
This commit is contained in:
parent
f2ae22b44c
commit
f4c2a30436
17
numactl-1.0.2-alpha-syscall.patch
Normal file
17
numactl-1.0.2-alpha-syscall.patch
Normal file
@ -0,0 +1,17 @@
|
||||
diff -up numactl-1.0.2/syscall.c.orig numactl-1.0.2/syscall.c
|
||||
--- numactl-1.0.2/syscall.c.orig 2008-03-14 07:28:58.000000000 -0400
|
||||
+++ numactl-1.0.2/syscall.c 2008-03-14 07:29:31.000000000 -0400
|
||||
@@ -62,6 +62,13 @@
|
||||
#define __NR_set_mempolicy 261
|
||||
#define __NR_migrate_pages 258
|
||||
|
||||
+#elif defined(__alpha__)
|
||||
+
|
||||
+#define __NR_mbind 429
|
||||
+#define __NR_get_mempolicy 430
|
||||
+#define __NR_set_mempolicy 431
|
||||
+#define __NR_migrate_pages 449
|
||||
+
|
||||
#elif !defined(DEPS_RUN)
|
||||
#error "Add syscalls for your architecture or update kernel headers"
|
||||
#endif
|
@ -1,7 +1,7 @@
|
||||
Name: numactl
|
||||
Summary: Library for tuning for Non Uniform Memory Access machines
|
||||
Version: 1.0.2
|
||||
Release: 3%{dist}
|
||||
Release: 4%{dist}
|
||||
License: LGPLv2/GPLv2
|
||||
Group: System Environment/Base
|
||||
URL: ftp://ftp.suse.com/pub/people/ak/numa/
|
||||
@ -10,7 +10,7 @@ Buildroot: %{_tmppath}/%{name}-buildroot
|
||||
|
||||
ExcludeArch: s390 s390x
|
||||
Patch0: numactl-1.0.2-get_mempolicy-const.patch
|
||||
|
||||
Patch1: numactl-1.0.2-alpha-syscall.patch
|
||||
|
||||
%description
|
||||
Simple NUMA policy support. It consists of a numactl program to run
|
||||
@ -69,6 +69,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Fri Mar 14 2008 Neil Horman <nhorman@redhat.com> - 1.0.2-4
|
||||
- Add alpha syscalls (bz 396361)
|
||||
|
||||
* Tue Feb 19 2008 Fedora Release Engineering <rel-eng@fedoraproject.org> - 1.0.2-3
|
||||
- Autorebuild for GCC 4.3
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user