git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
drivers
/
s390
/
cio
/
airq.c
diff --git
a/drivers/s390/cio/airq.c
b/drivers/s390/cio/airq.c
index
3720e77
..
5287631
100644
(file)
--- a/
drivers/s390/cio/airq.c
+++ b/
drivers/s390/cio/airq.c
@@
-2,12
+2,10
@@
* drivers/s390/cio/airq.c
* S/390 common I/O routines -- support for adapter interruptions
*
* drivers/s390/cio/airq.c
* S/390 common I/O routines -- support for adapter interruptions
*
- * $Revision: 1.12 $
- *
* Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
* Author(s): Ingo Adlung (adlung@de.ibm.com)
* Copyright (C) 1999-2002 IBM Deutschland Entwicklung GmbH,
* IBM Corporation
* Author(s): Ingo Adlung (adlung@de.ibm.com)
- * Cornelia Huck (cohuck@de.ibm.com)
+ * Cornelia Huck (co
rnelia.
huck@de.ibm.com)
* Arnd Bergmann (arndb@de.ibm.com)
*/
* Arnd Bergmann (arndb@de.ibm.com)
*/
@@
-45,7
+43,7
@@
s390_register_adapter_interrupt (adapter_int_handler_t handler)
else
ret = (cmpxchg(&adapter_handler, NULL, handler) ? -EBUSY : 0);
if (!ret)
else
ret = (cmpxchg(&adapter_handler, NULL, handler) ? -EBUSY : 0);
if (!ret)
- synchronize_
kernel();
+ synchronize_
sched(); /* Allow interrupts to complete. */
sprintf (dbf_txt, "ret:%d", ret);
CIO_TRACE_EVENT (4, dbf_txt);
sprintf (dbf_txt, "ret:%d", ret);
CIO_TRACE_EVENT (4, dbf_txt);
@@
-65,7
+63,7
@@
s390_unregister_adapter_interrupt (adapter_int_handler_t handler)
ret = -EINVAL;
else {
adapter_handler = NULL;
ret = -EINVAL;
else {
adapter_handler = NULL;
- synchronize_
kernel();
+ synchronize_
sched(); /* Allow interrupts to complete. */
ret = 0;
}
sprintf (dbf_txt, "ret:%d", ret);
ret = 0;
}
sprintf (dbf_txt, "ret:%d", ret);