]> www.infradead.org Git - users/jedix/linux-maple.git/commit
trace: declare blk_add_trace_rq non-static on OL6
authorTodd Vierling <todd.vierling@oracle.com>
Wed, 21 Feb 2018 15:55:39 +0000 (10:55 -0500)
committerJack Vogel <jack.vogel@oracle.com>
Mon, 26 Feb 2018 08:11:15 +0000 (00:11 -0800)
commit9953861f1708f203ea057a382212a3310b4e5a45
tree64e210133c9a7190e21aacc53cb9236ab7e029b3
parent2110ad088232fd3c876be4c2c64df04784dd2fea
trace: declare blk_add_trace_rq non-static on OL6

In an external module, there is a reference to this function done
via explicit symbol lookup. The newer compiler used for retpoline
support on OL6 changes the symbol's asm name, which causes this lookup
to fail.

While it doesn't guarantee kABI compatibility, remove the "static"
qualifier for this function, on OL6 only, to allow continuing usage of
this code in the short term.

Orabug: 27578618
Signed-off-by: Todd Vierling <todd.vierling@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
kernel/trace/blktrace.c