|
@@ -459,7 +459,7 @@ EXPORT_SYMBOL(warn_slowpath_null);
|
|
* Called when gcc's -fstack-protector feature is used, and
|
|
* Called when gcc's -fstack-protector feature is used, and
|
|
* gcc detects corruption of the on-stack canary value
|
|
* gcc detects corruption of the on-stack canary value
|
|
*/
|
|
*/
|
|
-void __stack_chk_fail(void)
|
|
|
|
|
|
+__visible void __stack_chk_fail(void)
|
|
{
|
|
{
|
|
panic("stack-protector: Kernel stack is corrupted in: %p\n",
|
|
panic("stack-protector: Kernel stack is corrupted in: %p\n",
|
|
__builtin_return_address(0));
|
|
__builtin_return_address(0));
|