lkml.org 
[lkml]   [2009]   [Jul]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 3 Jul 2009 10:02:14 -0700 (PDT)
FromLinus Torvalds <>
SubjectRe: [tip:perfcounters/urgent] x86: atomic64: Fix unclean type use in atomic64_xchg()


On Fri, 3 Jul 2009, tip-bot for Ingo Molnar wrote:
>
> Fix atomic64_xchg() to use __atomic64_read() instead.

Hmm. The whole __atomic64_read() thing should be dropped. Are there any
users? None of them should be valid, as Eric's numbers showed. It's
apparently better to start out with a random value rather than actually
trying to read it.

Linus


\
 
 \ /
  Last update: 2009-07-03 19:05    [from the cache]
©2003-2009