Change in kernel API affecting Gator

Mathieu Poirier mathieu.poirier at linaro.org
Mon May 7 22:30:28 UTC 2012


On 12-05-07 04:05 PM, Bernhard Rosenkränzer wrote:
> Hi,
> 
> On 7 May 2012 23:40, Mathieu Poirier <mathieu.poirier at linaro.org> wrote:
>> Good day y'all,
>>
>> Many of you have received a gerrit review request that concerns Gator
>> and a kernel API change that happened between 3.3 and 3.4.  If you
>> maintain a build associated to a board, please review.
> 
> Looks good to me, but I wonder if just fixing the code to handle both
> cases wouldn't be smarter...
> 
> #include <linux/version.h>
> #if LINUX_VERSION_CODE < KERNEL_VERSION(3,4,0)
> d_alloc_root
> #else
> d_make_root
> #endif
> 
> ttyl
> bero

This is a much, much better solution.  I will revert the merge and
implement your way.



More information about the linaro-android mailing list