Skip to content

Commit

Permalink
xtensa: use kbuild.h macros instead of defining them in asm-offsets.c
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Lameter <[email protected]>
Cc: Chris Zankel <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Christoph Lameter authored and torvalds committed Apr 29, 2008
1 parent 02cbe47 commit 0fcfbb1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions arch/xtensa/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,11 @@
#include <linux/thread_info.h>
#include <linux/ptrace.h>
#include <linux/mm.h>
#include <linux/kbuild.h>

#include <asm/ptrace.h>
#include <asm/uaccess.h>

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

int main(void)
{
/* struct pt_regs */
Expand Down

0 comments on commit 0fcfbb1

Please sign in to comment.