lkml.org 
[lkml]   [2008]   [Feb]   [26]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 26 Feb 2008 08:39:10 +0100
FromIngo Molnar <>
SubjectRe: [PATCH] x86_64: remove wrong setting about CONSTANT_TSC for intel cpu
* Ingo Molnar <mingo@elte.hu> wrote:

> > set_cpu_cap is right> > ==> > set_bit(X86_FEATURE_CONSTANT_TSC, &c->x86_capability); ===> is wrong
> > should be
> > set_bit(X86_FEATURE_CONSTANT_TSC, c->x86_capability);
> > 
> > x86_capability is a array ...
> > 
> > so this could prevent some data corruption.> > ah, right you are! [...]

actually, not: &c->x86_capability and c->x86_capability result in the 
same address (it's an array, not a pointer), so there's no "data 
corruption". If x86_capability were a pointer then you would be right - 
so this is all worth cleaning up.

	Ingo


\
 
 \ /
  Last update: 2008-02-26 08:41    [from the cache]
©2003-2008