Freezer: make kernel threads nonfreezable by default
[sfrench/cifs-2.6.git] / drivers / input / gameport / gameport.c
index bd686a2a517decea484eb9739a7dfe206e781550..20896d5e5f0e640389161dbecde47c1d3b21992e 100644 (file)
@@ -445,6 +445,7 @@ static struct gameport *gameport_get_pending_child(struct gameport *parent)
 
 static int gameport_thread(void *nothing)
 {
+       set_freezable();
        do {
                gameport_handle_event();
                wait_event_interruptible(gameport_wait,