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)
commit06df44ee41442d83be061c5fd1b1de4f5fc6fbbf
treeddc9f48bdf9090d442aee78a2fe991b02369b42c
parentd5fe85af85367d5892e4308f596de4e2a5fb9017
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