i387: export 'fpu_owner_task' per-cpu variable
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Feb 2012 03:34:10 +0000 (19:34 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 21 Feb 2012 03:34:10 +0000 (19:34 -0800)
commit27e74da9800289e69ba907777df1e2085231eff7
tree3b01385191da0722f747529908a902b169fae805
parent8ebbfb49574818f07a25bc119b1bbdf1c2853a39
i387: export 'fpu_owner_task' per-cpu variable

(And define it properly for x86-32, which had its 'current_task'
declaration in separate from x86-64)

Bitten by my dislike for modules on the machines I use, and the fact
that apparently nobody else actually wanted to test the patches I sent
out.

Snif. Nobody else cares.

Anyway, we probably should uninline the 'kernel_fpu_begin()' function
that is what modules actually use and that references this, but this is
the minimal fix for now.

Reported-by: Josh Boyer <jwboyer@gmail.com>
Reported-and-tested-by: Jongman Heo <jongman.heo@samsung.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/x86/kernel/cpu/common.c