]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fix kABI breakage from "blk-mq: Shared tag enhancements"
authorDan Duval <dan.duval@oracle.com>
Wed, 8 Jun 2016 18:00:49 +0000 (14:00 -0400)
committerChuck Anderson <chuck.anderson@oracle.com>
Wed, 13 Jul 2016 07:09:49 +0000 (00:09 -0700)
commit26b2b6e9fd58ce11531c7592c2bbcf1b193b1224
treeaa9409ed5d3e4deb2c7f6108b8a02c910f51ea53
parent0d933ffdbe4eb9683bc642ab43d082d5cf921713
fix kABI breakage from "blk-mq: Shared tag enhancements"

Orabug: 23521058

Commit e92f419 ("blk-mq: Shared tag enhancements") added the element
"cpumask" to struct blk_mq_tags.  This broke kABI.

Currently, this structure is only used by the core blk-mq code.
I don't expect that third-party modules will use it at all.
Even if they do, though, the kernel provides an API that
encapsulates creation/destruction/access for these structures,
and modules that use that API will be unaffected by the change.

So the workaround for the kABI breakage is simply to hide the new
element from the kABI checker by wrapping it in #ifndef __GENKSYMS__.

Signed-off-by: Dan Duval <dan.duval@oracle.com>
block/blk-mq-tag.h