lkml.org 
[lkml]   [2010]   [Aug]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC][PATCH] introduce ptr_diff()
> If so, the warning seems valid as sizeof(struct page) is probably not
> (always) a power of 2. On a native build on x86_64 it is 56 bytes
> hereover.
> Hmm ....


gcc just generats a mull with inverted value. mull is cheap on any
reasonable CPU. Please fix sparse.

-andi


\
 
 \ /
  Last update: 2010-08-19 15:03    [from the cache]
©2003-2011 Jasper Spaans