lkml.org 
[lkml]   [2011]   [Mar]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/2] jump label: introduce static_branch() interface
On Thu, Mar 10, 2011 at 04:18:01PM -0500, Jason Baron wrote:

> > I'm curious, is there a reason for this header change? Clean up? Maybe
> > it could go into a separate patch. If anything, just to make this one
> > slightly smaller.
> >
>
> hmm...I did that to get types.h for the new atomic_t usage.
>
> However, now that I look at it again its bogus. The right fix is to
> explicitly include <linux/types.h> from jump_label.h.

And <linux/compiler.h> for unlikely().

Ralf


\
 
 \ /
  Last update: 2011-03-11 03:05    [W:0.384 / U:2.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site