From: Fawad Lateef <fawad_lateef@yahoo.com>
To: rml@novell.com
Cc: linux-mm@kvack.org
Subject: Re: Re: Is sizeof(void *) ever != sizeof(unsigned long)?
Date: Sun, 5 Dec 2004 02:49:46 -0800 (PST) [thread overview]
Message-ID: <20041205104946.67855.qmail@web53906.mail.yahoo.com> (raw)
--- Robert Love wrote:
> But that is not true, actually. Nothing in C or
> anywhere else says that
> the long type has to be the size of a GPR.
> Specifically in Linux, the
> SPARC64 user-space ABI has a 32-bit long type
> despite being a 64-bit
> architecture--in other words, SPARC64 has a 32-bit
> user-space even
> though it is a 64-bit architecture.
>
> In the kernel, however, we have the ABI such that
> both pointers and
> longs are the same size, generally the size of the
> GPR. But there is a
> difference between physical requirements, C
> requirements, the user-space
> ABI, and the kernel ABI.
>
> By definition (the Linux kernel ABI) they _are_
> equal in size to each
> other.
>
Thanks for this explanation, now I got clear view abt
that.
Fawad Lateef
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
reply other threads:[~2004-12-05 10:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=20041205104946.67855.qmail@web53906.mail.yahoo.com \
--to=fawad_lateef@yahoo.com \
--cc=linux-mm@kvack.org \
--cc=rml@novell.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