projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] x86_64: use halt() instead of raw inline assembly
[powerpc.git]
/
block
/
genhd.c
diff --git
a/block/genhd.c
b/block/genhd.c
index
5a8d3bf
..
8d73395
100644
(file)
--- a/
block/genhd.c
+++ b/
block/genhd.c
@@
-17,8
+17,7
@@
#include <linux/buffer_head.h>
#include <linux/mutex.h>
#include <linux/buffer_head.h>
#include <linux/mutex.h>
-static struct subsystem block_subsys;
-
+struct subsystem block_subsys;
static DEFINE_MUTEX(block_subsys_lock);
/*
static DEFINE_MUTEX(block_subsys_lock);
/*
@@
-511,9
+510,7
@@
static struct kset_uevent_ops block_uevent_ops = {
.uevent = block_uevent,
};
.uevent = block_uevent,
};
-/* declare block_subsys. */
-static decl_subsys(block, &ktype_block, &block_uevent_ops);
-
+decl_subsys(block, &ktype_block, &block_uevent_ops);
/*
* aggregate disk stat collector. Uses the same stats that the sysfs
/*
* aggregate disk stat collector. Uses the same stats that the sysfs