commit | fbf47635315ab308c9b58a1ea0906e711a9228de | [log] [tgz] |
---|---|---|
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 26 23:10:27 2015 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu Mar 26 23:10:27 2015 +0100 |
tree | eaf51ea4136a36e007109db421737cc68ca2f33a | |
parent | 23f5b3fdd04e89b4c67fd9ffa60a193d239acf0f [diff] |
tty: clean up the tty time logic a bit We only care if anything other than the lower 3 bits of the tty has changed, so just check that way, which makes it a bit faster, and more obvious what is going on. Also, document this for future developers to understand why we did this. Reported-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org