lkml.org 
[lkml]   [2010]   [Feb]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] seastar - SeaStar Ethernet driver (review comments addressed)
On Tue, 2 Feb 2010 18:08:27 -0700
"Kevin Pedretti" <ktpedre@sandia.gov> wrote:

> +
> +/* Rounds up to the nearest quadbyte */
> +#define ROUNDUP4(val) ((val + (4-1)) & ~(4-1))

kernel.h has ALIGN(val, 4) which is same thing.

--


\
 
 \ /
  Last update: 2010-02-03 02:43    [W:0.079 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site