lkml.org 
[lkml]   [2004]   [Dec]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[2.6 patch] mm/thrash.c: make a variable static
    The patch below makes a needlessly global variable static.


    Signed-off-by: Adrian Bunk <bunk@stusta.de>

    --- linux-2.6.10-rc2-mm4-full/mm/thrash.c.old 2004-12-12 04:00:18.000000000 +0100
    +++ linux-2.6.10-rc2-mm4-full/mm/thrash.c 2004-12-12 04:00:25.000000000 +0100
    @@ -15,7 +15,7 @@

    static DEFINE_SPINLOCK(swap_token_lock);
    static unsigned long swap_token_timeout;
    -unsigned long swap_token_check;
    +static unsigned long swap_token_check;
    struct mm_struct * swap_token_mm = &init_mm;

    #define SWAP_TOKEN_CHECK_INTERVAL (HZ * 2)
    -
    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to majordomo@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.018 / U:183.384 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site