diff --git a/numactl-1.0.2-alpha-syscall.patch b/numactl-1.0.2-alpha-syscall.patch new file mode 100644 index 0000000..5d92b43 --- /dev/null +++ b/numactl-1.0.2-alpha-syscall.patch @@ -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 diff --git a/numactl.spec b/numactl.spec index bcb45f7..808edda 100644 --- a/numactl.spec +++ b/numactl.spec @@ -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 - 1.0.2-4 +- Add alpha syscalls (bz 396361) + * Tue Feb 19 2008 Fedora Release Engineering - 1.0.2-3 - Autorebuild for GCC 4.3