Commit fc1c3a00 authored by Christoph Lameter's avatar Christoph Lameter Committed by Linus Torvalds

sh: use kbuild.h instead of defining macros in asm-offsets.c

Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Cc: Paul Mundt <lethal@linux-sh.org>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 4ca4d7bf
...@@ -11,12 +11,9 @@ ...@@ -11,12 +11,9 @@
#include <linux/stddef.h> #include <linux/stddef.h>
#include <linux/types.h> #include <linux/types.h>
#include <linux/mm.h> #include <linux/mm.h>
#include <asm/thread_info.h> #include <linux/kbuild.h>
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
#define BLANK() asm volatile("\n->" : : ) #include <asm/thread_info.h>
int main(void) int main(void)
{ {
......
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