summaryrefslogtreecommitdiff
path: root/arch/alpha/kernel/asm-offsets.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/kernel/asm-offsets.c')
-rw-r--r--arch/alpha/kernel/asm-offsets.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/alpha/kernel/asm-offsets.c b/arch/alpha/kernel/asm-offsets.c
index b121294bee26..bf1eedd27cf7 100644
--- a/arch/alpha/kernel/asm-offsets.c
+++ b/arch/alpha/kernel/asm-offsets.c
@@ -12,7 +12,7 @@
#include <linux/kbuild.h>
#include <asm/io.h>
-void foo(void)
+static void __used foo(void)
{
DEFINE(TI_TASK, offsetof(struct thread_info, task));
DEFINE(TI_FLAGS, offsetof(struct thread_info, flags));