From: Hannes Reinecke Date: Fri, 7 Feb 2014 10:38:30 +0000 (+0100) Subject: tty: Set correct tty name in 'active' sysfs attribute X-Git-Tag: v3.14-rc3~11^2~9 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d8a5dc3033af2fd6d16030d2ee4fbd073460fe54;p=pandora-kernel.git tty: Set correct tty name in 'active' sysfs attribute The 'active' sysfs attribute should refer to the currently active tty devices the console is running on, not the currently active console. The console structure doesn't refer to any device in sysfs, only the tty the console is running on has. So we need to print out the tty names in 'active', not the console names. This resolves an issue on s390 platforms in determining the correct console device to use. Cc: Lennart Poettering Cc: Kay Sievers Cc: Jiri Slaby Cc: David Herrmann Signed-off-by: Werner Fink Signed-off-by: Hannes Reinecke Cc: stable Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed