From: "David S. Miller" <davem@redhat.com>
To: katta@csee.wvu.edu
Cc: sparclinux@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: Reg. asm-sparc64/processor.h
Date: Thu, 23 May 2002 22:57:10 -0700 (PDT) [thread overview]
Message-ID: <20020523.225710.127930704.davem@redhat.com> (raw)
In-Reply-To: <1022196275.2591.4.camel@indus>
From: Shanti Katta <katta@csee.wvu.edu>
Date: 23 May 2002 19:24:35 -0400
On Wed, 2002-05-22 at 23:52, David S. Miller wrote:
>
> If you want the 'u64' type, define __KERNEL__. That is what
> every platform does, protect the types without underscores with
> a __KERNEL__ ifdef.
In asm-sparc64/processor.h (2.4.18), in thread_struct structure, there
are 3 fields:
u64 *user_cntd0, *user_cntd1;
u64 kernel_cntd0, kernel_cntd1;
u64 pcr_reg;
which are defined without #ifdef __KERNEL__ . I guess, this is a bug,
which needs fixing.
You shouldn't be including such kernel headers from userspace.
prev parent reply other threads:[~2002-05-24 6:13 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-05-23 1:04 Reg. asm-sparc64/processor.h Shanti Katta
2002-05-23 3:52 ` David S. Miller
2002-05-23 23:24 ` Shanti Katta
2002-05-24 5:57 ` David S. Miller [this message]
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=20020523.225710.127930704.davem@redhat.com \
--to=davem@redhat.com \
--cc=katta@csee.wvu.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=sparclinux@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox