diff options
author | Thomas Gleixner <[email protected]> | 2018-01-04 22:19:04 +0100 |
---|---|---|
committer | Thomas Gleixner <[email protected]> | 2018-01-05 00:39:58 +0100 |
commit | 1e5476815fd7f98b888e01a0f9522b63085f96c9 (patch) | |
tree | 1c05ffeeba8b8e6c3058b8dcb88646b186ea8433 /net/lapb/lapb_subr.c | |
parent | 42f3bdc5dd962a5958bc024c1e1444248a6b8b4a (diff) |
x86/tlb: Drop the _GPL from the cpu_tlbstate export
The recent changes for PTI touch cpu_tlbstate from various tlb_flush
inlines. cpu_tlbstate is exported as GPL symbol, so this causes a
regression when building out of tree drivers for certain graphics cards.
Aside of that the export was wrong since it was introduced as it should
have been EXPORT_PER_CPU_SYMBOL_GPL().
Use the correct PER_CPU export and drop the _GPL to restore the previous
state which allows users to utilize the cards they payed for.
As always I'm really thrilled to make this kind of change to support the
#friends (or however the hot hashtag of today is spelled) from that closet
sauce graphics corp.
Fixes: 1e02ce4cccdc ("x86: Store a per-cpu shadow copy of CR4")
Fixes: 6fd166aae78c ("x86/mm: Use/Fix PCID to optimize user/kernel switches")
Reported-by: Kees Cook <[email protected]>
Signed-off-by: Thomas Gleixner <[email protected]>
Cc: Greg Kroah-Hartman <[email protected]>
Cc: Peter Zijlstra <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: [email protected]
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions