lkml.org 
[lkml]   [1997]   [Nov]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    SubjectRe: 2.0.32 items
    what about this one-liner for 2.0.32 ?

    -------------------------------------------------------------------------------
    --- linux/kernel/ksyms.c~ Wed Nov 12 14:19:06 1997
    +++ linux/kernel/ksyms.c Wed Nov 12 14:22:25 1997
    @@ -364,6 +364,8 @@
    X(proc_dir_inode_operations),
    #endif

    + X(show_buffers),
    +
    /********************************************************
    * Do not add anything below this line,
    * as the stacked modules depend on this!
    -------------------------------------------------------------------------------
    this would allow this small pseudo-module being used to trigger the
    show_buffers() output under program control (without needing a user
    pressing Shift-ScrolLock or similar...).

    -------------------------------------------------------------------------------
    #include <linux/module.h>
    #include <linux/errno.h>
    int init_module()
    {
    show_buffers();
    return -EIO;
    }
    void cleanup_module(void)
    {
    }
    -------------------------------------------------------------------------------
    Harald
    --
    All SCSI disks will from now on ___ _____
    be required to send an email notice 0--,| /OOOOOOO\
    24 hours prior to complete hardware failure! <_/ / /OOOOOOOOOOO\
    \ \/OOOOOOOOOOOOOOO\
    \ OOOOOOOOOOOOOOOOO|//
    Harald Koenig, \/\/\/\/\/\/\/\/\/
    Inst.f.Theoret.Astrophysik // / \\ \
    koenig@tat.physik.uni-tuebingen.de ^^^^^ ^^^^^
    \
     
     \ /
      Last update: 2005-03-22 13:40    [W:0.022 / U:32.192 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site