x86: make sure load_percpu_segment has no stackprotector
authorJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Mon, 17 Aug 2009 19:25:41 +0000 (12:25 -0700)
committerJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
Thu, 20 Aug 2009 00:09:21 +0000 (17:09 -0700)
commit5416c2663517ebd0be0664c4d4ce3df0b116c059
tree0f2043ceefa163ff85e54169de84b2fe9b7dec89
parent1406de8e11eb043681297adf86d6892ff8efc27a
x86: make sure load_percpu_segment has no stackprotector

load_percpu_segment() is used to set up the per-cpu segment registers,
which are also used for -fstack-protector.  Make sure that the
load_percpu_segment() function doesn't have stackprotector enabled.

[ Impact: allow percpu setup before calling stack-protected functions ]

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
arch/x86/kernel/cpu/Makefile