diff options
| -rw-r--r-- | kernel/panic.c | 2 | ||||
| -rw-r--r-- | lib/string.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/kernel/panic.c b/kernel/panic.c index 85188e251..41d22a58b 100644 --- a/kernel/panic.c +++ b/kernel/panic.c @@ -465,7 +465,7 @@ EXPORT_SYMBOL(warn_slowpath_null); * Called when gcc's -fstack-protector feature is used, and * 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", diff --git a/lib/string.c b/lib/string.c index 92b381ba2..5508ba5af 100644 --- a/lib/string.c +++ b/lib/string.c @@ -677,7 +677,7 @@ EXPORT_SYMBOL(memmove); * @count: The size of the area. */ #undef memcmp -int memcmp(const void *cs, const void *ct, size_t count) +__visible int memcmp(const void *cs, const void *ct, size_t count) { const unsigned char *su1, *su2; int res = 0; |
