Skip to content

Commit fc1c3a0

Browse files
Christoph Lametertorvalds
authored andcommitted
sh: use kbuild.h instead of defining macros in asm-offsets.c
Signed-off-by: Christoph Lameter <clameter@sgi.com> Cc: Paul Mundt <lethal@linux-sh.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 4ca4d7b commit fc1c3a0

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

arch/sh/kernel/asm-offsets.c

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,9 @@
1111
#include <linux/stddef.h>
1212
#include <linux/types.h>
1313
#include <linux/mm.h>
14-
#include <asm/thread_info.h>
15-
16-
#define DEFINE(sym, val) \
17-
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
14+
#include <linux/kbuild.h>
1815

19-
#define BLANK() asm volatile("\n->" : : )
16+
#include <asm/thread_info.h>
2017

2118
int main(void)
2219
{

0 commit comments

Comments
 (0)