]> git.baikalelectronics.ru Git - kernel.git/commit
modpost.c: Add .text.unlikely to TEXT_SECTIONS
authorTom Rini <trini@ti.com>
Mon, 20 May 2013 00:55:38 +0000 (10:25 +0930)
committerRusty Russell <rusty@rustcorp.com.au>
Mon, 20 May 2013 02:38:45 +0000 (12:08 +0930)
commitbdc27c0a3c281f93ec8f02467703f7cd08e1c519
treeddc9f48bdf9090d442aee78a2fe991b02369b42c
parentf5e2d7d024a08f76f9a19ec268609f80da661b14
modpost.c: Add .text.unlikely to TEXT_SECTIONS

gcc's places cold functions into the .text.unlikely section and we
need to check this section as well for section mismatches otherwise we
may have false negatives for this test.

Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: linux-kernel@vger.kernel.org
Cc: linux-kbuild@vger.kernel.org
Signed-off-by: Tom Rini <trini@ti.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> (wording update)
scripts/mod/modpost.c