|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH 10 of 12] blktap2: properly __init-annotate blktap2 c
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1260521239 0
# Node ID 6b5c16a30bc5e7d771dec05c7cee597b71a695c2
# Parent 72b77ff2d5229f9dc14bbaff6fcdec943da59415
blktap2: properly __init-annotate blktap2 code
Signed-off-by: Jan Beulich <jbeulich@xxxxxxxxxx>
diff -r 72b77ff2d522 -r 6b5c16a30bc5 drivers/xen/blktap/blktap.h
--- a/drivers/xen/blktap/blktap.h Mon Jul 20 10:03:44 2009 +0100
+++ b/drivers/xen/blktap/blktap.h Fri Dec 11 08:47:19 2009 +0000
@@ -4,6 +4,7 @@
#include <linux/mm.h>
#include <linux/fs.h>
#include <linux/cdev.h>
+#include <linux/init.h>
#include <linux/scatterlist.h>
#include <xen/blkif.h>
#include <xen/grant_table.h>
diff -r 72b77ff2d522 -r 6b5c16a30bc5 drivers/xen/blktap/control.c
--- a/drivers/xen/blktap/control.c Mon Jul 20 10:03:44 2009 +0100
+++ b/drivers/xen/blktap/control.c Fri Dec 11 08:47:19 2009 +0000
@@ -205,7 +205,7 @@
return err;
}
-static int
+static int __init
blktap_control_init(void)
{
int err;
diff -r 72b77ff2d522 -r 6b5c16a30bc5 drivers/xen/blktap/device.c
--- a/drivers/xen/blktap/device.c Mon Jul 20 10:03:44 2009 +0100
+++ b/drivers/xen/blktap/device.c Fri Dec 11 08:47:19 2009 +0000
@@ -1112,7 +1112,7 @@
return err;
}
-int
+int __init
blktap_device_init(int *maj)
{
int major;
diff -r 72b77ff2d522 -r 6b5c16a30bc5 drivers/xen/blktap/request.c
--- a/drivers/xen/blktap/request.c Mon Jul 20 10:03:44 2009 +0100
+++ b/drivers/xen/blktap/request.c Fri Dec 11 08:47:19 2009 +0000
@@ -272,7 +272,7 @@
spin_unlock_irqrestore(&pool.lock, flags);
}
-int
+int __init
blktap_request_pool_init(void)
{
int i, err;
diff -r 72b77ff2d522 -r 6b5c16a30bc5 drivers/xen/blktap/ring.c
--- a/drivers/xen/blktap/ring.c Mon Jul 20 10:03:44 2009 +0100
+++ b/drivers/xen/blktap/ring.c Fri Dec 11 08:47:19 2009 +0000
@@ -589,7 +589,7 @@
return blktap_sysfs_create(tap);
}
-int
+int __init
blktap_ring_init(int *major)
{
int err;
diff -r 72b77ff2d522 -r 6b5c16a30bc5 drivers/xen/blktap/sysfs.c
--- a/drivers/xen/blktap/sysfs.c Mon Jul 20 10:03:44 2009 +0100
+++ b/drivers/xen/blktap/sysfs.c Fri Dec 11 08:47:19 2009 +0000
@@ -424,7 +424,7 @@
class_destroy(class);
}
-int
+int __init
blktap_sysfs_init(void)
{
struct class *cls;
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH 03 of 12] blktap2: fix compiler warnings, (continued)
- [Xen-devel] [PATCH 03 of 12] blktap2: fix compiler warnings, Daniel Stodden
- [Xen-devel] [PATCH 02 of 12] blktap2: add tlb flush properly, Daniel Stodden
- [Xen-devel] [PATCH 01 of 12] Fix x86_32 build after CONFIG_X86_VSYSCALL (c3a1cb06), Daniel Stodden
- [Xen-devel] [PATCH 12 of 12] blkback: simplify linux-2.6.18-xen.hg-918.71a61b393cdf, Daniel Stodden
- [Xen-devel] [PATCH 08 of 12] blktap2: remove warnings, Daniel Stodden
- [Xen-devel] [PATCH 09 of 12] blkback: pagemap bug fixes, Daniel Stodden
- [Xen-devel] [PATCH 11 of 12] blkback/blktap2: simplify address translations, Daniel Stodden
- [Xen-devel] [PATCH 07 of 12] blktap2: use blk_rq_map_sg() here too, Daniel Stodden
- [Xen-devel] [PATCH 05 of 12] blktap2: reduce TLB flush scope, Daniel Stodden
- [Xen-devel] [PATCH 06 of 12] blktap2: fix blkback/blktap2 interaction, Daniel Stodden
- [Xen-devel] [PATCH 10 of 12] blktap2: properly __init-annotate blktap2 code,
Daniel Stodden <=
|
|
|
|
|