Skip to content

Commit

Permalink
v850: use kbuild.h instead of defining macros in asm-offsets.c
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Lameter <clameter@sgi.com>
Cc: Miles Bader <miles@gnu.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Christoph Lameter authored and Linus Torvalds committed Apr 29, 2008
1 parent fc1c3a0 commit 8972331
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions arch/v850/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@
#include <linux/kernel_stat.h>
#include <linux/ptrace.h>
#include <linux/hardirq.h>
#include <linux/kbuild.h>

#include <asm/irq.h>
#include <asm/errno.h>

#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))

#define BLANK() asm volatile("\n->" : : )

int main (void)
{
/* offsets into the task struct */
Expand Down

0 comments on commit 8972331

Please sign in to comment.