]> git.baikalelectronics.ru Git - kernel.git/commit
<linux/kernel.h>: drop the gcc-3.3 'const' hack in roundup()
authorRandy Dunlap <rdunlap@infradead.org>
Fri, 8 Mar 2019 00:26:39 +0000 (16:26 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 8 Mar 2019 02:31:59 +0000 (18:31 -0800)
commit75724cd9b3ac19cc1cfa40021ca1b38ce2c84103
treeb8c8f9e0578978da94cfd461641b4c2f8e907fdf
parent1e6349e9416d53db7051d592cf17c8c950ed5a49
<linux/kernel.h>: drop the gcc-3.3 'const' hack in roundup()

The single quotation marks around "const" were causing a documentation
markup warning with reST.  Instead of fixing that warning, just delete
that comment line and the gcc-3.3 hack of using "const" in the roundup()
macro since gcc-3.3 is no longer supported for kernel builds.

I did around 20 different $arch builds with no problems, but we'll just
have to see if this causes problems for anyone else out there.

Link: http://lkml.kernel.org/r/ec5dcf72-7c3e-3513-af0c-4003ed598854@infradead.org
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Suggested-by: Matthew Wilcox <willy@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/kernel.h