From: Trevor Woerner <mips081@vtnet.ca>
To: Ralf Baechle <ralf@linux-mips.org>
Cc: linux-mips@linux-mips.org
Subject: Re: 64-bit sysinfo
Date: Thu, 12 Jun 2003 08:07:59 -0400 [thread overview]
Message-ID: <200306120807.59346.mips081@vtnet.ca> (raw)
In-Reply-To: <20030612113520.GA8390@linux-mips.org>
On June 12, 2003 07:35 am, Ralf Baechle wrote:
> The kernel has a wrapper for 32-bit code (see sys32_sysinfo) and that
> one seems to look correct to me.
>
> Can you check that your program is actually using the right syscall,
> that is syscall number 4116? If it's using 5097 it's using the
> native 64-bit syscall which obviously would explain your observation.
Thanks for your (and everyone's suggestions) I'll have a look at this
today. I put a printk in kernel/proc.c:sys_sysinfo() so that's the one
being called. I also put another printk in
arch/mips64/mm/init.c:si_meminfo() (??? i think...) and it was being
called from 'sys_info()'. I don't remember seeing sys32_sysinfo() but
I'll look again.
Trevor
next prev parent reply other threads:[~2003-06-12 12:08 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-06-12 10:59 64-bit sysinfo Trevor Woerner
2003-06-12 11:35 ` Ralf Baechle
2003-06-12 12:07 ` Trevor Woerner [this message]
2003-06-12 12:27 ` Ralf Baechle
2003-06-12 21:36 ` Andrew Clausen
2003-06-12 11:44 ` Ralf Baechle
2003-06-12 12:02 ` Trevor Woerner
-- strict thread matches above, loose matches on Subject: below --
2003-06-12 11:19 Tor Arntsen
2003-06-12 12:04 ` Trevor Woerner
2003-06-12 12:04 ` Trevor Woerner
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=200306120807.59346.mips081@vtnet.ca \
--to=mips081@vtnet.ca \
--cc=linux-mips@linux-mips.org \
--cc=ralf@linux-mips.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox