Messages in this thread | | | Date | Thu, 23 May 2002 22:57:10 -0700 (PDT) | Subject | Re: Reg. asm-sparc64/processor.h | From | "David S. Miller" <> |
| |
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/
| |