lkml.org 
[lkml]   [2009]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: is avoiding compat ioctls possible?
    >  	}
    > - chunk_array_ptr = (uint64_t *)(unsigned long)(cs->chunks);
    > +#ifdef CONFIG_COMPAT
    > + if (is_compat_task())

    Are the COMPAT ifdefs really needed? The compiler should optimize that
    away anyways on non compat aware architectures, shouldn't it?

    -Andi



    \
     
     \ /
      Last update: 2009-10-28 09:01    [W:2.407 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site