* [PATCH] tty: export get_current_tty
@ 2006-12-10 14:21 Heiko Carstens
2006-12-10 16:08 ` Peter Zijlstra
0 siblings, 1 reply; 2+ messages in thread
From: Heiko Carstens @ 2006-12-10 14:21 UTC (permalink / raw)
To: Andrew Morton; +Cc: Martin Schwidefsky, Peter Zijlstra, linux-kernel
From: Heiko Carstens <heiko.carstens@de.ibm.com>
[PATCH] tty: export get_current_tty
24ec839c431eb79bb8f6abc00c4e1eb3b8c4d517 causes this:
WARNING: "get_current_tty" [drivers/s390/char/fs3270.ko] undefined!
Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
---
drivers/char/tty_io.c | 1 +
1 file changed, 1 insertion(+)
Index: linux-2.6/drivers/char/tty_io.c
===================================================================
--- linux-2.6.orig/drivers/char/tty_io.c
+++ 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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] tty: export get_current_tty
2006-12-10 14:21 [PATCH] tty: export get_current_tty Heiko Carstens
@ 2006-12-10 16:08 ` Peter Zijlstra
0 siblings, 0 replies; 2+ messages in thread
From: Peter Zijlstra @ 2006-12-10 16:08 UTC (permalink / raw)
To: Heiko Carstens; +Cc: Andrew Morton, Martin Schwidefsky, linux-kernel
On Sun, 2006-12-10 at 15:21 +0100, Heiko Carstens wrote:
> From: Heiko Carstens <heiko.carstens@de.ibm.com>
>
> [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.
> Cc: Martin Schwidefsky <schwidefsky@de.ibm.com>
> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
> ---
> drivers/char/tty_io.c | 1 +
> 1 file changed, 1 insertion(+)
>
> Index: linux-2.6/drivers/char/tty_io.c
> ===================================================================
> --- linux-2.6.orig/drivers/char/tty_io.c
> +++ 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
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> Please read the FAQ at http://www.tux.org/lkml/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-12-10 16:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 14:21 [PATCH] tty: export get_current_tty Heiko Carstens
2006-12-10 16:08 ` Peter Zijlstra
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox