lkml.org 
[lkml]   [2011]   [Oct]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH tip/core/rcu 31/55] rcu: Make rcu_implicit_dynticks_qs() locals be correct size
On Tue, Sep 06, 2011 at 11:00:25AM -0700, Paul E. McKenney wrote:
> When the ->dynticks field in the rcu_dynticks structure changed to an
> atomic_t, its size on 64-bit systems changed from 64 bits to 32 bits.
> The local variables in rcu_implicit_dynticks_qs() need to change as
> well, hence this commit.

If an atomic_t always holds 32-bits, which it appears to, then shouldn't
this use u32 rather than unsigned int?

- Josh Triplett


\
 
 \ /
  Last update: 2011-10-17 03:47    [W:0.322 / U:1.132 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site