lkml.org 
[lkml]   [2007]   [Dec]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [patch] rd: support XIP
    On 04/12/2007, Nick Piggin <npiggin@suse.de> wrote:
    > + gfp_flags = GFP_NOIO | __GFP_ZERO;
    > +#ifndef CONFIG_BLK_DEV_XIP
    > + gfp_flags |= __GFP_HIGHMEM;
    > +#endif
    > page = alloc_page(GFP_NOIO | __GFP_HIGHMEM | __GFP_ZERO);

    I think that should be alloc_page(gfp_flags), no?

    Cheers,
    Duane.

    --
    "I never could learn to drink that blood and call it wine" - Bob Dylan


    \
     
     \ /
      Last update: 2007-12-04 13:09    [W:0.019 / U:91.624 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site