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.075 / U:0.264 seconds]
©2003-2014 Jasper Spaans. Advertise on this site