summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2015-10-28Linux 3.12.50v3.12.50Jiri Slaby
2015-10-05Linux 3.12.49v3.12.49Jiri Slaby
2015-09-18Linux 3.12.48v3.12.48Jiri Slaby
2015-08-25Linux 3.12.47v3.12.47Jiri Slaby
2015-08-04Linux 3.12.46v3.12.46Jiri Slaby
2015-07-30Linux 3.12.45v3.12.45Jiri Slaby
2015-06-10Linux 3.12.44v3.12.44Jiri Slaby
2015-05-26kernel: use the gnu89 standard explicitlyKirill A. Shutemov
commit 51b97e354ba9fce1890cf38ecc754aa49677fc89 upstream. Sasha Levin reports: "gcc5 changes the default standard to c11, which makes kernel build unhappy Explicitly define the kernel standard to be gnu89 which should keep everything working exactly like it was before gcc5" There are multiple small issues with the new default, but the biggest issue seems to be that the old - and very useful - GNU extension to allow a cast in front of an initializer has gone away. Patch updated by Kirill: "I'm pretty sure all gcc versions you can build kernel with supports -std=gnu89. cc-option is redunrant. We also need to adjust HOSTCFLAGS otherwise allmodconfig fails for me" Note by Andrew Pinski: "Yes it was reported and both problems relating to this extension has been added to gnu99 and gnu11. Though there are other issues with the kernel dealing with extern inline have different semantics between gnu89 and gnu99/11" End result: we may be able to move up to a newer stdc model eventually, but right now the newer models have some annoying deficiencies, so the traditional "gnu89" model ends up being the preferred one. Signed-off-by: Sasha Levin <sasha.levin@oracle.com> Singed-off-by: Kirill A. Shutemov <kirill.shutemov@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2015-05-20Linux 3.12.43v3.12.43Jiri Slaby
2015-04-30Linux 3.12.42v3.12.42Jiri Slaby
2015-04-27Linux 3.12.41v3.12.41Jiri Slaby
2015-04-09Linux 3.12.40v3.12.40Jiri Slaby
2015-03-16Linux 3.12.39v3.12.39Jiri Slaby
2015-02-16Linux 3.12.38v3.12.38Jiri Slaby
2015-01-29Linux 3.12.37v3.12.37Jiri Slaby
2015-01-13Linux 3.12.36v3.12.36Jiri Slaby
2014-12-06Linux 3.12.35v3.12.35Jiri Slaby
2014-12-03Linux 3.12.34v3.12.34Jiri Slaby
2014-11-15Linux 3.12.33v3.12.33Jiri Slaby
2014-10-31Linux 3.12.32v3.12.32Jiri Slaby
2014-10-17Linux 3.12.31v3.12.31Jiri Slaby
2014-09-26Linux 3.12.30v3.12.30Jiri Slaby
2014-09-26Linux 3.12.29v3.12.29Jiri Slaby
2014-09-03Linux 3.12.28v3.12.28Jiri Slaby
2014-08-26Linux 3.12.27v3.12.27Jiri Slaby
2014-07-30Linux 3.12.26v3.12.26Jiri Slaby
2014-07-30Fix gcc-4.9.0 miscompilation of load_balance() in schedulerLinus Torvalds
commit 2062afb4f804afef61cbe62a30cac9a46e58e067 upstream. Michel Dänzer and a couple of other people reported inexplicable random oopses in the scheduler, and the cause turns out to be gcc mis-compiling the load_balance() function when debugging is enabled. The gcc bug apparently goes back to gcc-4.5, but slight optimization changes means that it now showed up as a problem in 4.9.0 and 4.9.1. The instruction scheduling problem causes gcc to schedule a spill operation to before the stack frame has been created, which in turn can corrupt the spilled value if an interrupt comes in. There may be other effects of this bug too, but that's the code generation problem seen in Michel's case. This is fixed in current gcc HEAD, but the workaround as suggested by Markus Trippelsdorf is pretty simple: use -fno-var-tracking-assignments when compiling the kernel, which disables the gcc code that causes the problem. This can result in slightly worse debug information for variable accesses, but that is infinitely preferable to actual code generation problems. Doing this unconditionally (not just for CONFIG_DEBUG_INFO) also allows non-debug builds to verify that the debug build would be identical: we can do export GCC_COMPARE_DEBUG=1 to make gcc internally verify that the result of the build is independent of the "-g" flag (it will make the compiler build everything twice, toggling the debug flag, and compare the results). Without the "-fno-var-tracking-assignments" option, the build would fail (even with 4.8.3 that didn't show the actual stack frame bug) with a gcc compare failure. See also gcc bugzilla: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61801 Reported-by: Michel Dänzer <michel@daenzer.net> Suggested-by: Markus Trippelsdorf <markus@trippelsdorf.de> Cc: Jakub Jelinek <jakub@redhat.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Jiri Slaby <jslaby@suse.cz>
2014-07-18Linux 3.12.25v3.12.25Jiri Slaby
2014-07-04Linux 3.12.24v3.12.24Jiri Slaby
2014-06-23Linux 3.12.23v3.12.23Jiri Slaby
2014-06-11Linux 3.12.22v3.12.22Jiri Slaby
2014-05-29Linux 3.12.21v3.12.21Jiri Slaby
2014-05-15Linux 3.12.20v3.12.20Jiri Slaby
2014-05-05Linux 3.12.19v3.12.19Jiri Slaby
2014-04-18Linux 3.12.18v3.12.18Jiri Slaby
2014-04-03Linux 3.12.17v3.12.17Jiri Slaby
2014-03-31Linux 3.12.16v3.12.16Jiri Slaby
2014-03-24Linux 3.12.15v3.12.15Jiri Slaby
2014-03-10Linux 3.12.14v3.12.14Jiri Slaby
2014-02-22Linux 3.12.13v3.12.13Greg Kroah-Hartman
2014-02-20Linux 3.12.12v3.12.12Greg Kroah-Hartman
2014-02-13Linux 3.12.11v3.12.11Greg Kroah-Hartman
2014-02-06Linux 3.12.10v3.12.10Greg Kroah-Hartman
2014-01-25Linux 3.12.9v3.12.9Greg Kroah-Hartman
2014-01-15Linux 3.12.8v3.12.8Greg Kroah-Hartman
2014-01-09Linux 3.12.7v3.12.7Greg Kroah-Hartman
2013-12-20Linux 3.12.6v3.12.6Greg Kroah-Hartman
2013-12-11Linux 3.12.5v3.12.5Greg Kroah-Hartman
2013-12-08Linux 3.12.4v3.12.4Greg Kroah-Hartman
2013-12-04Linux 3.12.3v3.12.3Greg Kroah-Hartman