Commit 7038424c authored by Andi Kleen's avatar Andi Kleen Committed by Linus Torvalds

[PATCH] Make spinlock debugging compile on x86-64

cpu_relax is on i386 and x86-64 in processor.h, not system.h
This makes CONFIG_DEBUG_SPINLOCK compile for x86-64
parent f822f151
......@@ -13,6 +13,7 @@
#include <linux/kernel.h>
#include <linux/stringify.h>
#include <asm/processor.h> /* for cpu relax */
#include <asm/system.h>
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment