Files
kernel_xiaomi_sm8250/include/linux
Andi Kleen ef1b893c29 lto, workaround: Add workaround for initcall reordering
Work around a LTO gcc problem: when there is no reference to a variable
in a module it will be moved to the end of the program. This causes
reordering of initcalls which the kernel does not like.
Add a dummy reference function to avoid this. The function is
deleted by the linker.

This replaces a previous much slower workaround.

Thanks to Jan "Honza" Hubička for suggesting this technique.

Suggested-by: Jan Hubička <hubicka@ucw.cz>
Signed-off-by: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1391846481-31491-4-git-send-email-ak@linux.intel.com
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
2014-02-13 20:24:13 -08:00
..
2014-01-20 11:55:23 -08:00
2014-01-24 22:39:54 +01:00
2014-01-17 01:59:38 +01:00
2014-01-14 14:54:00 -05:00
2014-01-28 08:09:46 -07:00
2014-01-16 10:23:02 +10:30
2014-01-16 11:15:50 +01:00
2014-01-26 22:48:35 +01:00
2014-02-13 18:12:04 -08:00
2014-01-25 08:55:09 +01:00
2014-02-13 20:21:59 -08:00
2014-01-16 10:23:03 +10:30
2014-01-27 21:02:39 -08:00
2014-01-22 21:57:17 -08:00
2014-01-25 03:14:05 -05:00
2014-01-27 19:27:53 -05:00
2014-01-22 19:36:57 +01:00
2014-01-28 13:20:09 -08:00
2014-01-27 21:02:39 -08:00
2014-01-30 16:56:55 -08:00