Commit 48017e54 authored by Peter Zijlstra's avatar Peter Zijlstra
Browse files

sparc64: Fix asm/percpu.h build error



In order to break a header dependency between lockdep and task_struct,
I need per-cpu stuff from lockdep.

Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: default avatarIngo Molnar <mingo@kernel.org>
Acked-by: default avatarDavid S. Miller <davem@davemloft.net>
Link: https://lkml.kernel.org/r/20200623083721.277992771@infradead.org
parent ba1f2b2e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4,7 +4,9 @@

#include <linux/compiler.h>

#ifndef BUILD_VDSO
register unsigned long __local_per_cpu_offset asm("g5");
#endif

#ifdef CONFIG_SMP

+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,8 @@
#ifndef _SPARC_TRAP_BLOCK_H
#define _SPARC_TRAP_BLOCK_H

#include <linux/threads.h>

#include <asm/hypervisor.h>
#include <asm/asi.h>