public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Arnd Bergmann <arndb@de.ibm.com>
To: Marcelo Tosatti <marcelo@conectiva.com.br>
Cc: lkml <linux-kernel@vger.kernel.org>
Subject: [PATCH] 13/18 Export elevator_init
Date: Mon, 5 Aug 2002 19:48:48 +0200	[thread overview]
Message-ID: <200208051948.48243.arndb@de.ibm.com> (raw)
In-Reply-To: <200208051830.50713.arndb@de.ibm.com>

Problem:  The dasd driver wants to switch to the noop elevator function but
          it can do that if the driver is compiled as a module because
          elevator_init is not exported.
Solution: Export elevator_init. Has been accepted to 2.5.

diff -urN linux-2.4.19-rc3/drivers/block/Makefile linux-2.4.19-s390/drivers/block/Makefile
--- linux-2.4.19-rc3/drivers/block/Makefile	Tue Jul 30 09:02:27 2002
+++ linux-2.4.19-s390/drivers/block/Makefile	Tue Jul 30 09:02:43 2002
@@ -10,7 +10,7 @@
 
 O_TARGET := block.o
 
-export-objs	:= ll_rw_blk.o blkpg.o loop.o DAC960.o genhd.o
+export-objs	:= ll_rw_blk.o blkpg.o elevator.o loop.o DAC960.o genhd.o
 
 obj-y	:= ll_rw_blk.o blkpg.o genhd.o elevator.o
 
diff -urN linux-2.4.19-rc3/drivers/block/elevator.c linux-2.4.19-s390/drivers/block/elevator.c
--- linux-2.4.19-rc3/drivers/block/elevator.c	Fri Jul 20 05:59:41 2001
+++ linux-2.4.19-s390/drivers/block/elevator.c	Tue Jul 30 09:01:22 2002
@@ -220,3 +220,5 @@
 	*elevator = type;
 	elevator->queue_ID = queue_ID++;
 }
+
+EXPORT_SYMBOL(elevator_init);



  parent reply	other threads:[~2002-08-05 16:09 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-08-05 18:12 0/18 2.4.19 architecture updates for s390 following Arnd Bergmann
2002-08-05 17:47 ` [PATCH] 12/18 console_unblank bug fix Arnd Bergmann
2002-08-05 17:48 ` Arnd Bergmann [this message]
2002-08-05 17:50 ` [PATCH] 14/18 support for partition labels in devfs Arnd Bergmann
2002-08-05 17:14   ` Christoph Hellwig
2002-08-05 17:54 ` [PATCH] 15/18 better pte invalidation Arnd Bergmann
2002-08-05 17:01   ` Christoph Hellwig
2002-08-06 11:05     ` Arnd Bergmann
2002-08-06  9:43       ` Christoph Hellwig
2002-08-10 12:28   ` Paul Mackerras
2002-08-05 17:56 ` [PATCH] 16/18 add more possible root devices Arnd Bergmann
2002-08-05 17:15   ` Christoph Hellwig
2002-08-06 11:23     ` Arnd Bergmann
2002-08-05 18:04 ` [PATCH] 17/18 support arbitrary devfs names for tty devices Arnd Bergmann
2002-08-05 18:08 ` [PATCH] 18/18 scsi core changes Arnd Bergmann
2002-08-05 17:12   ` Christoph Hellwig
2002-08-06 11:06     ` Arnd Bergmann
2002-08-06  9:18       ` Christoph Hellwig
2002-08-06 23:10         ` Ingo Adlung
2002-08-06 23:12           ` Christoph Hellwig

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200208051948.48243.arndb@de.ibm.com \
    --to=arndb@de.ibm.com \
    --cc=arnd@bergmann-dalldorf.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=marcelo@conectiva.com.br \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox