2002-06-17 20:26:07

by Martin Schwidefsky

[permalink] [raw]
Subject: [PATCH] 2.5.22: elevator exports.

Hi Linus,
the dasd driver as a module needs to call elevator_init/elavator_exit to
change the elevator algorithm to elevator_noop.

blue skies,
Martin.

diff -urN linux-2.5.22/drivers/block/elevator.c linux-2.5.22-s390/drivers/block/elevator.c
--- linux-2.5.22/drivers/block/elevator.c Mon Jun 17 04:31:35 2002
+++ linux-2.5.22-s390/drivers/block/elevator.c Tue Jun 11 17:15:10 2002
@@ -424,3 +424,5 @@
EXPORT_SYMBOL(__elv_add_request);
EXPORT_SYMBOL(__elv_next_request);
EXPORT_SYMBOL(elv_remove_request);
+EXPORT_SYMBOL(elevator_exit);
+EXPORT_SYMBOL(elevator_init);