patch-1.3.38 linux/include/linux/notifier.h
Next file: linux/include/linux/pci.h
Previous file: linux/include/linux/netdevice.h
Back to the patch index
Back to the overall index
- Lines: 18
- Date:
Mon Nov 6 12:59:00 1995
- Orig file:
v1.3.37/linux/include/linux/notifier.h
- Orig date:
Sat Jan 7 12:57:54 1995
diff -u --recursive --new-file v1.3.37/linux/include/linux/notifier.h linux/include/linux/notifier.h
@@ -13,7 +13,7 @@
struct notifier_block
{
- int (*notifier_call)(unsigned long, void *);
+ int (*notifier_call)(struct notifier_block *this, unsigned long, void *);
struct notifier_block *next;
int priority;
};
@@ -68,7 +68,7 @@
struct notifier_block *nb = *n;
while(nb)
{
- ret=nb->notifier_call(val,v);
+ ret=nb->notifier_call(nb,val,v);
if(ret&NOTIFY_STOP_MASK)
return ret;
nb=nb->next;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this