From: Andrew Morton WARNING: "tty_mutex" [arch/sparc64/solaris/solaris.ko] undefined! Cc: Alan Cox Cc: David S. Miller Signed-off-by: Andrew Morton --- drivers/char/tty_io.c | 1 + 1 file changed, 1 insertion(+) diff -puN drivers/char/tty_io.c~solaris-emulation-incorrect-tty-locking-fix-2 drivers/char/tty_io.c --- a/drivers/char/tty_io.c~solaris-emulation-incorrect-tty-locking-fix-2 +++ a/drivers/char/tty_io.c @@ -129,6 +129,7 @@ LIST_HEAD(tty_drivers); /* linked list /* Semaphore to protect creating and releasing a tty. This is shared with vt.c for deeply disgusting hack reasons */ DEFINE_MUTEX(tty_mutex); +EXPORT_SYMBOL(tty_mutex); #ifdef CONFIG_UNIX98_PTYS extern struct tty_driver *ptm_driver; /* Unix98 pty masters; for /dev/ptmx */ _