]> git.baikalelectronics.ru Git - kernel.git/commit
locking/refcounts: Do not force refcount_t usage as GPL-only export
authorKees Cook <keescook@chromium.org>
Tue, 5 Dec 2017 01:24:54 +0000 (17:24 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 6 Dec 2017 01:14:31 +0000 (17:14 -0800)
commit1bda400d6620490b310dea1b681f859504c75aa2
tree8d0782dc6b3a8a3ca6428e7adfd14a3e9946c668
parentf9d17e61f2ac025706b8dbd1c90f1b859f97a442
locking/refcounts: Do not force refcount_t usage as GPL-only export

The refcount_t protection on x86 was not intended to use the stricter
GPL export. This adjusts the linkage again to avoid a regression in
the availability of the refcount API.

Reported-by: Dave Airlie <airlied@gmail.com>
Fixes: 7cffb288b50f ("locking/refcounts, x86/asm: Implement fast refcount overflow protection")
Cc: stable@vger.kernel.org
Signed-off-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/mm/extable.c