]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ctf: fix thinko preventing linking of out-of-tree modules when CTF is off
authorNick Alcock <nick.alcock@oracle.com>
Mon, 4 Dec 2017 20:56:40 +0000 (20:56 +0000)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 4 Dec 2017 23:19:54 +0000 (23:19 +0000)
commitc7e8f01d1124d079ed9827c0d105b8f2d019c802
treeb02986c7df667c80756f5fbe3e05dce0956560c2
parentf9d70f1621950b491ba81528fbb7fdbf7906930e
ctf: fix thinko preventing linking of out-of-tree modules when CTF is off

The CTF decoupling commit dropped a bunch of variable initializations
for the (degenerate) external-module no-CTF case because we would need
the same initializations for other cases, moving those initializations
further up and overriding them only when needed (in the CTF-enabled,
out-of-tree-module case).

Unfortunately I then forgot to move the containing ifdef CONFIG_CTF
down, leading to these variables being entirely unset in the out-
of-tree module case.  This causes linking of out-of-tree modules to fail
when CTF is off.

Thanks to Iain Barker and releng for tracking this down and reporting
it.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
Reviewed-by: Chuck Anderson <chuck.anderson@oracle.com>
Orabug: 27215305
scripts/Makefile.modpost