[PATCH 3.16.y-ckt 187/216] x86/tls: Don't validate lm in set_thread_area() after all

2015-01-12 Thread Luis Henriques
3.16.7-ckt4 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski commit 3fb2f4237bb452eb4e98f6a5dbd5a445b4fed9d0 upstream. It turns out that there's a lurking ABI issue. GCC, when compiling this in a 32-bit program: struct

[PATCH 3.16.y-ckt 187/216] x86/tls: Don't validate lm in set_thread_area() after all

2015-01-12 Thread Luis Henriques
3.16.7-ckt4 -stable review patch. If anyone has any objections, please let me know. -- From: Andy Lutomirski l...@amacapital.net commit 3fb2f4237bb452eb4e98f6a5dbd5a445b4fed9d0 upstream. It turns out that there's a lurking ABI issue. GCC, when compiling this in a 32-bit