public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: "William Scott Lockwood III" <scottlockwood@hotmail.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.4.6-ac5 gives wrong cache info for Duron in /proc/cpuinfo
Date: Tue, 17 Jul 2001 16:18:07 +0100	[thread overview]
Message-ID: <7721.995383087@redhat.com> (raw)
In-Reply-To: <OE17UirmJJgWha8vFnq000074b6@hotmail.com>
In-Reply-To: <OE17UirmJJgWha8vFnq000074b6@hotmail.com>  <Pine.LNX.4.33.0107171532450.1817-100000@ketil.np>


thatlinuxguy@hotmail.com said:
> It never ceases to amaze me how ANAL some people on this list are.
> :-)

It's called attention to detail, and it's the _reason_ why a lot of people 
are here.

The correct prefix to signify a multiple of 1024 is 'Ki'.

Index: arch/i386/kernel/setup.c
===================================================================
RCS file: /inst/cvs/linux/arch/i386/kernel/setup.c,v
retrieving revision 1.4.2.57
diff -u -r1.4.2.57 setup.c
--- arch/i386/kernel/setup.c	2001/05/14 10:32:23	1.4.2.57
+++ arch/i386/kernel/setup.c	2001/07/17 15:13:54
@@ -2406,7 +2406,7 @@
 
 		/* Cache size */
 		if (c->x86_cache_size >= 0)
-			p += sprintf(p, "cache size\t: %d KB\n", c->x86_cache_size);
+			p += sprintf(p, "cache size\t: %d KiB\n", c->x86_cache_size);
 		
 		/* We use exception 16 if we have hardware math and we've either seen it or the CPU claims it is internal */
 		fpu_exception = c->hard_math && (ignore_irq13 || cpu_has_fpu);


--
dwmw2



  parent reply	other threads:[~2001-07-17 15:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-17 10:30 2.4.6-ac5 gives wrong cache info for Duron in /proc/cpuinfo David Balazic
2001-07-17 11:14 ` Christian Bornträger
2001-07-17 11:48   ` David Balazic
2001-07-17 11:34 ` Christian Bornträger
2001-07-17 11:47   ` David Balazic
2001-07-17 13:35 ` Ketil Froyn
2001-07-17 11:51   ` William Scott Lockwood III
2001-07-17 14:03     ` [OT] " Ketil Froyn
2001-07-17 15:18   ` David Woodhouse [this message]
2001-07-17 15:35     ` [VERY OT] " William Scott Lockwood III
2001-07-17 15:50       ` Alan Shutko
2001-07-17 16:20         ` Ignacio Vazquez-Abrams
2001-07-17 16:25         ` William Scott Lockwood III

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=7721.995383087@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=scottlockwood@hotmail.com \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox