Skip to content

Commit b562c17

Browse files
keestorvalds
authored andcommitted
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 <[email protected]> Fixes: 7a46ec0 ("locking/refcounts, x86/asm: Implement fast refcount overflow protection") Cc: [email protected] Signed-off-by: Kees Cook <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
1 parent 13231ca commit b562c17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

arch/x86/mm/extable.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ bool ex_handler_refcount(const struct exception_table_entry *fixup,
8282

8383
return true;
8484
}
85-
EXPORT_SYMBOL_GPL(ex_handler_refcount);
85+
EXPORT_SYMBOL(ex_handler_refcount);
8686

8787
/*
8888
* Handler for when we fail to restore a task's FPU state. We should never get

0 commit comments

Comments
 (0)