]> Pileus Git - ~andy/linux/blobdiff - arch/x86/kernel/process_64.c
Merge branch 'fixes' of git://git.linaro.org/people/rmk/linux-arm
[~andy/linux] / arch / x86 / kernel / process_64.c
index 05646bab4ca6addf3a4026ce40685480a4336582..bb1dc51bab05649c4eb2e48ddbb23840c4a598a8 100644 (file)
@@ -52,7 +52,7 @@
 
 asmlinkage extern void ret_from_fork(void);
 
-DEFINE_PER_CPU(unsigned long, old_rsp);
+asmlinkage DEFINE_PER_CPU(unsigned long, old_rsp);
 
 /* Prints also some state that isn't saved in the pt_regs */
 void __show_regs(struct pt_regs *regs, int all)
@@ -274,7 +274,7 @@ void start_thread_ia32(struct pt_regs *regs, u32 new_ip, u32 new_sp)
  * Kprobes not supported here. Set the probe on schedule instead.
  * Function graph tracer not supported too.
  */
-__notrace_funcgraph struct task_struct *
+__visible __notrace_funcgraph struct task_struct *
 __switch_to(struct task_struct *prev_p, struct task_struct *next_p)
 {
        struct thread_struct *prev = &prev_p->thread;