- Remove warning from libnuma (bz 484552)
This commit is contained in:
parent
1dc9576ad4
commit
33b077659b
13
numactl-2.0.2-remove-warning.patch
Normal file
13
numactl-2.0.2-remove-warning.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff -up numactl-2.0.2/libnuma.c.orig numactl-2.0.2/libnuma.c
|
||||
--- numactl-2.0.2/libnuma.c.orig 2009-02-09 15:26:41.000000000 -0500
|
||||
+++ numactl-2.0.2/libnuma.c 2009-02-09 15:26:45.000000000 -0500
|
||||
@@ -306,9 +306,6 @@ set_configured_nodes(void)
|
||||
|
||||
d = opendir("/sys/devices/system/node");
|
||||
if (!d) {
|
||||
- numa_warn(W_nosysfs,
|
||||
- "/sys not mounted or no numa system. Assuming one node: %s",
|
||||
- strerror(errno));
|
||||
maxconfigurednode = 0;
|
||||
} else {
|
||||
while ((de = readdir(d)) != NULL) {
|
@ -1,7 +1,7 @@
|
||||
Name: numactl
|
||||
Summary: Library for tuning for Non Uniform Memory Access machines
|
||||
Version: 2.0.2
|
||||
Release: 3%{dist}
|
||||
Release: 4%{dist}
|
||||
License: LGPLv2/GPLv2
|
||||
Group: System Environment/Base
|
||||
URL: ftp://oss.sgi.com/www/projects/libnuma/download
|
||||
@ -9,6 +9,7 @@ Source0: ftp://oss.sgi.com/www/projects/libnuma/download/numactl-%{version}.tar
|
||||
Buildroot: %{_tmppath}/%{name}-buildroot
|
||||
|
||||
Patch0: numactl-2.0.2-clearcache-fix.patch
|
||||
Patch1: numactl-2.0.2-remove-warning.patch
|
||||
|
||||
ExcludeArch: s390 s390x
|
||||
|
||||
@ -28,6 +29,7 @@ Provides development headers for numa library calls
|
||||
%prep
|
||||
%setup -q
|
||||
%patch0 -p1
|
||||
%patch1 -p1
|
||||
|
||||
%build
|
||||
make CFLAGS="$RPM_OPT_FLAGS -I. -fPIC"
|
||||
@ -72,6 +74,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3/*.3*
|
||||
|
||||
%changelog
|
||||
* Wed Mar 25 2009 Mark McLoughlin <markmc@redhat.com> - 2.0.2-4
|
||||
- Remove warning from libnuma (bz 484552)
|
||||
|
||||
* Wed Feb 25 2009 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 2.0.2-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user