All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Pop <Dan.Pop@cern.ch>
To: linux-ia64@vger.kernel.org
Subject: Re: [Linux-ia64] Two IA-64 Linux bugs
Date: Mon, 05 Jun 2000 20:42:25 +0000	[thread overview]
Message-ID: <marc-linux-ia64-105590678205117@msgid-missing> (raw)
In-Reply-To: <marc-linux-ia64-105590678205116@msgid-missing>


On Sun, 4 Jun 2000, Wan-Teh Chang wrote:

> System info:
> [nspr@tl2 unix]$ uname -a
> Linux tl2.compile.sourceforge.net 2.3.99-pre6-000501-18smp
> #1 SMP Sat May 6 21:30:48 PDT 2000 ia64 unknown
> 
> Bug #2: sysconf(_SC_NPROCESSORS_ONLN) returns 0.
> It should return the number of processors online.

I've fixed that in the "official" glibc tree one week ago.  It's been
fixed in HJ's tree a few weeks ago (but I don't know how he did it).

This is implemented by counting the lines starting with "CPU#" in
/proc/cpuinfo.  If the kernel guys change the format of that file, it
might break again.

Dan




  reply	other threads:[~2000-06-05 20:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-06-05  5:44 [Linux-ia64] Two IA-64 Linux bugs Wan-Teh Chang
2000-06-05 20:42 ` Dan Pop [this message]
2000-06-05 20:58 ` Bill Nottingham
2000-06-05 22:10 ` Dan Pop
2000-06-06 17:08 ` Boehm, Hans
2000-06-07 14:57 ` Wan-Teh Chang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=marc-linux-ia64-105590678205117@msgid-missing \
    --to=dan.pop@cern.ch \
    --cc=linux-ia64@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.