patch-2.2.18 linux/include/asm-s390/sigp.h

Next file: linux/include/asm-s390/smplock.h
Previous file: linux/include/asm-s390/sigcontext.h
Back to the patch index
Back to the overall index

diff -u --new-file --recursive --exclude-from /usr/src/exclude v2.2.17/include/asm-s390/sigp.h linux/include/asm-s390/sigp.h
@@ -150,6 +150,7 @@
 	ec_get_ctl,
 	ec_set_ctl_masked,
         ec_ptlb,
+        ec_callback,
         ec_cmd_last
 } ec_cmd_sig;
 
@@ -187,6 +188,13 @@
 	__u32 andvals[16];
 } ec_creg_mask_parms;
 
+/* parameter area for the callback signal */
+typedef struct
+{
+  void (*callback)(void *);
+  void *data;
+} ec_callback_parms;
+
 /*
  * Signal processor
  */
@@ -249,6 +257,8 @@
 		);
    return ccode;
 }
+
+extern void smp_do_callback_all(void (*callback)(void *), void *data);
 
 #endif __SIGP__
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)