Author: sthibault
Date: 2010-08-22 21:21:35 +0000 (Sun, 22 Aug 2010)
New Revision: 4386

Added:
   glibc-package/trunk/debian/patches/hurd-i386/local-no-hp-timing.diff
Modified:
   glibc-package/trunk/debian/changelog
   glibc-package/trunk/debian/patches/series
Log:
  * patches/hurd-i386/local-no-hp-timing.diff: New patch to disable i686 HP
    timing support.


Modified: glibc-package/trunk/debian/changelog
===================================================================
--- glibc-package/trunk/debian/changelog        2010-08-22 14:51:43 UTC (rev 
4385)
+++ glibc-package/trunk/debian/changelog        2010-08-22 21:21:35 UTC (rev 
4386)
@@ -9,6 +9,8 @@
   * mv patches/hurd-i386/{submitted,cvs}-ttyname.diff.
   * mv patches/hurd-i386/{submitted,cvs}-getnprocs.diff.
   * patches/hurd-i386/local-i686.diff: New patch to fix i686 build.
+  * patches/hurd-i386/local-no-hp-timing.diff: New patch to disable i686 HP
+    timing support.
 
   [ Petr Salinger ]
   * kfreebsd/local-sysdeps.diff: update to revision 3156 (from glibc-bsd).

Added: glibc-package/trunk/debian/patches/hurd-i386/local-no-hp-timing.diff
===================================================================
--- glibc-package/trunk/debian/patches/hurd-i386/local-no-hp-timing.diff        
                        (rev 0)
+++ glibc-package/trunk/debian/patches/hurd-i386/local-no-hp-timing.diff        
2010-08-22 21:21:35 UTC (rev 4386)
@@ -0,0 +1,57 @@
+2010-08-21  Samuel Thibault  <samuel.thiba...@ens-lyon.org>
+
+We don't have support for hp timing for now, even the i686 variant, which needs
+to know the CPU speed.
+Copied from sysdeps/generic/hp-timing.h
+
+---
+ hp-timing.h |   41 +++++++++++++++++++++++++++++++++++++++++
+ 1 file changed, 41 insertions(+)
+
+diff --git a/sysdeps/mach/hurd/hp-timing.h b/sysdeps/mach/hurd/hp-timing.h
+new file mode 100644
+index 0000000..933fb83
+--- /dev/null
++++ b/sysdeps/mach/hurd/hp-timing.h
+@@ -0,0 +1,41 @@
++/* High precision, low overhead timing functions.  Generic version.
++   Copyright (C) 1998, 2000 Free Software Foundation, Inc.
++   This file is part of the GNU C Library.
++   Contributed by Ulrich Drepper <drep...@cygnus.com>, 1998.
++
++   The GNU C Library is free software; you can redistribute it and/or
++   modify it under the terms of the GNU Lesser General Public
++   License as published by the Free Software Foundation; either
++   version 2.1 of the License, or (at your option) any later version.
++
++   The GNU C Library is distributed in the hope that it will be useful,
++   but WITHOUT ANY WARRANTY; without even the implied warranty of
++   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
++   Lesser General Public License for more details.
++
++   You should have received a copy of the GNU Lesser General Public
++   License along with the GNU C Library; if not, write to the Free
++   Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
++   02111-1307 USA.  */
++
++#ifndef _HP_TIMING_H
++#define _HP_TIMING_H  1
++
++/* We don't have support for high precision timing for now. */
++
++/* Provide dummy definitions.  */
++#define HP_TIMING_AVAIL               (0)
++#define HP_TIMING_INLINE      (0)
++typedef int hp_timing_t;
++#define HP_TIMING_ZERO(Var)
++#define HP_TIMING_NOW(var)
++#define HP_TIMING_DIFF_INIT()
++#define HP_TIMING_DIFF(Diff, Start, End)
++#define HP_TIMING_ACCUM(Sum, Diff)
++#define HP_TIMING_ACCUM_NT(Sum, Diff)
++#define HP_TIMING_PRINT(Buf, Len, Val)
++
++/* Since this implementation is not available we tell the user about it.  */
++#define HP_TIMING_NONAVAIL    1
++
++#endif        /* hp-timing.h */

Modified: glibc-package/trunk/debian/patches/series
===================================================================
--- glibc-package/trunk/debian/patches/series   2010-08-22 14:51:43 UTC (rev 
4385)
+++ glibc-package/trunk/debian/patches/series   2010-08-22 21:21:35 UTC (rev 
4386)
@@ -129,6 +129,7 @@
 hurd-i386/local-mkdir_root.diff
 hurd-i386/cvs-select.diff
 hurd-i386/local-i686.diff
+hurd-i386/local-no-hp-timing.diff
 
 ia64/local-dlfptr.diff
 ia64/submitted-sysconf.diff


-- 
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/e1onhyz-0003f5...@alioth.debian.org

Reply via email to