Martin Schwidefsky 4253b0e062 s390: move spectre sysfs attribute code
The nospec-branch.c file is compiled without the gcc options to
generate expoline thunks. The return branch of the sysfs show
functions cpu_show_spectre_v1 and cpu_show_spectre_v2 is an indirect
branch as well. These need to be compiled with expolines.

Move the sysfs functions for spectre reporting to a separate file
and loose an '.' for one of the messages.

Cc: stable@vger.kernel.org # 4.16
Fixes: d424986f1d ("s390: add sysfs attributes for spectre")
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2018-05-07 21:12:41 +02:00
..
2012-05-16 14:42:41 +02:00
2018-04-10 07:38:54 +02:00
2017-11-24 14:28:34 +01:00
2018-04-16 09:10:23 +02:00
2018-04-05 21:36:27 -07:00
2018-04-05 21:36:27 -07:00
2018-02-27 08:05:23 +01:00
2018-01-09 16:33:31 +01:00