summaryrefslogtreecommitdiff
path: root/backport/compat/backport-3.13.c
diff options
context:
space:
mode:
authorLuca Coelho <luciano.coelho@intel.com>2018-10-01 10:26:57 +0300
committerJohannes Berg <johannes.berg@intel.com>2018-10-02 10:00:48 +0200
commitbd7804487bd6a9aad3cbe939bcaa44fbffcaa869 (patch)
treefb58618be51f2d4dfb93c3a8ce764aa1974530c3 /backport/compat/backport-3.13.c
parent17729e9df07335db33bdcd3d89c1bbe2b2c004bc (diff)
backport: check Ubuntu kernel for u64_stats_update_begin_irqsave()
Ubuntu cherry-picked the patch that added u64_stat_update_begin_irqsave() in their 4.15 kernel, so we get a redefinition compilation error if we try to compile against that. To solve this, check UTS_UBUNTU_RELEASE_ABI and don't define our backported function if it's 33 or higher. Signed-off-by: Luca Coelho <luciano.coelho@intel.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Diffstat (limited to 'backport/compat/backport-3.13.c')
0 files changed, 0 insertions, 0 deletions