- libata-convert-from-module_init-to-subsys_initcall-resend.patch removed from -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     libata: convert from module_init to subsys_initcall (resend)
has been removed from the -mm tree.  Its filename was
     libata-convert-from-module_init-to-subsys_initcall-resend.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
Subject: libata: convert from module_init to subsys_initcall (resend)
From: Brian King <brking@xxxxxxxxxx>

When building a monolithic kernel, the load order of drivers does not work
for SAS libata users, resulting in a kernel oops.  Convert libata to use
subsys_initcall instead of module_init, which ensures that libata gets
loaded before any LLDD.  This is the same thing that scsi core does to
solve the problem.  The load order problem was observed on ipr SAS adapters
and should exist for other SAS users as well.

Signed-off-by: Brian King <brking@xxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxx>
---

 drivers/ata/libata-core.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN drivers/ata/libata-core.c~libata-convert-from-module_init-to-subsys_initcall-resend drivers/ata/libata-core.c
--- a/drivers/ata/libata-core.c~libata-convert-from-module_init-to-subsys_initcall-resend
+++ a/drivers/ata/libata-core.c
@@ -6051,7 +6051,7 @@ static void __exit ata_exit(void)
 	destroy_workqueue(ata_aux_wq);
 }
 
-module_init(ata_init);
+subsys_initcall(ata_init);
 module_exit(ata_exit);
 
 static unsigned long ratelimit_time;
_

Patches currently in -mm which might be from brking@xxxxxxxxxx are

origin.patch
git-libata-all.patch

-
To unsubscribe from this list: send the line "unsubscribe mm-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies FAQ]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Photo]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux