um: Do not initialise statics to 0.
do not initialise statics to 0. Signed-off-by: Xin Gao <gaoxin@cdjrlc.com> Signed-off-by: Richard Weinberger <richard@nod.at>
This commit is contained in:
parent
3848d470cb
commit
4dc5a32831
|
@ -283,7 +283,7 @@ struct unplugged_pages {
|
|||
};
|
||||
|
||||
static DEFINE_MUTEX(plug_mem_mutex);
|
||||
static unsigned long long unplugged_pages_count = 0;
|
||||
static unsigned long long unplugged_pages_count;
|
||||
static LIST_HEAD(unplugged_pages);
|
||||
static int unplug_index = UNPLUGGED_PER_PAGE;
|
||||
|
||||
|
|
|
@ -106,7 +106,7 @@ static const struct tty_operations ssl_ops = {
|
|||
/* Changed by ssl_init and referenced by ssl_exit, which are both serialized
|
||||
* by being an initcall and exitcall, respectively.
|
||||
*/
|
||||
static int ssl_init_done = 0;
|
||||
static int ssl_init_done;
|
||||
|
||||
static void ssl_console_write(struct console *c, const char *string,
|
||||
unsigned len)
|
||||
|
|
|
@ -88,7 +88,7 @@ static int con_remove(int n, char **error_out)
|
|||
}
|
||||
|
||||
/* Set in an initcall, checked in an exitcall */
|
||||
static int con_init_done = 0;
|
||||
static int con_init_done;
|
||||
|
||||
static int con_install(struct tty_driver *driver, struct tty_struct *tty)
|
||||
{
|
||||
|
|
|
@ -1555,7 +1555,7 @@ static void do_io(struct io_thread_req *req, struct io_desc *desc)
|
|||
int kernel_fd = -1;
|
||||
|
||||
/* Only changed by the io thread. XXX: currently unused. */
|
||||
static int io_count = 0;
|
||||
static int io_count;
|
||||
|
||||
int io_thread(void *arg)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue