lkml.org 
[lkml]   [2002]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: Reg. asm-sparc64/processor.h
From
   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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.048 / U:0.044 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site