2002-10-08 20:40:34

by Alan Cox

[permalink] [raw]
Subject: PATCH: mpt fusion - remove donothing code

diff -u --new-file --recursive --exclude-from /usr/src/exclude linux.2.5.41/drivers/message/fusion/linux_compat.h linux.2.5.41-ac1/drivers/message/fusion/linux_compat.h
--- linux.2.5.41/drivers/message/fusion/linux_compat.h 2002-10-02 21:33:52.000000000 +0100
+++ linux.2.5.41-ac1/drivers/message/fusion/linux_compat.h 2002-10-05 23:56:25.000000000 +0100
@@ -254,8 +254,7 @@

#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,5,28)
#define mptscsih_save_flags(flags) \
-({ local_save_flags(flags); \
- local_irq_disable(); \
+({ local_irq_save(flags); \
})
#else
#define mptscsih_save_flags(flags) \