lkml.org 
[lkml]   [2007]   [Jun]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
FromAndi Kleen <>
SubjectRe: [patch] use __asm__ and __volatile__ in asm-x86_64/msr.h
DateMon, 18 Jun 2007 20:53:03 +0200

> asm-i386/msr.h should not be exported to userspace at all, it contains
> nothing but kernel-internal helpers.

Actually rdtsc and rdtscll and potentially rdpmc which is in there can be very
useful in user space if you know what you're doing. Unfortunately a lot of its users don't,
but not having the include probably won't stop them either.

-Andi
-
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: 2007-06-18 20:57    [from the cache]
©2003-2010