Skip to contentSkip to conversation

tty: export get_current_tty

PATCH In review Heiko Carstens 2 participants 2 messages Dec 10, 2006 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 tty: export get_current_tty

From: Heiko Carstens <[email protected]>

[PATCH] tty: export get_current_tty

24ec839c431eb79bb8f6abc00c4e1eb3b8c4d517 causes this:

WARNING: "get_current_tty" [drivers/s390/char/fs3270.ko] undefined!

Cc Martin Schwidefsky <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 drivers/char/tty_io.c |    1 +
 1 file changed, 1 insertion(+)
drivers/char/tty_io.c +1 -0
Index: linux-2.6/drivers/char/tty_io.c
===================================================================
@@ -3821,6 +3821,7 @@ struct tty_struct *get_current_tty(void)
 	barrier();
 	return tty;
 }
+EXPORT_SYMBOL_GPL(get_current_tty);
 
 /*
  * Initialize the console device. This is called *early*, so
#1 lore raw
Quoted 7 lines · Heiko Carstens

From: Heiko Carstens <[email protected]>

[PATCH] tty: export get_current_tty

24ec839c431eb79bb8f6abc00c4e1eb3b8c4d517 causes this:

WARNING: "get_current_tty" [drivers/s390/char/fs3270.ko] undefined!

Must be another remnant from OOLing it, sure ACK.

Quoted 24 lines
Cc Martin Schwidefsky <[email protected]>
Cc Peter Zijlstra <[email protected]>
---
 drivers/char/tty_io.c |    1 +
 1 file changed, 1 insertion(+)

Index: linux-2.6/drivers/char/tty_io.c
===================================================================

drivers/char/tty_io.c +1 -1
@@ -3821,6 +3821,7 @@ struct tty_struct *get_current_tty(void)
 	barrier();
 	return tty;
 }
+EXPORT_SYMBOL_GPL(get_current_tty);
 
 /*
  * Initialize the console device. This is called *early*, so
-

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/