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

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

Signed-off-by: default avatarChristoph Lameter <clameter@sgi.com>
Cc: "Luck, Tony" <tony.luck@intel.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 26946f4e
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
#include <linux/sched.h> #include <linux/sched.h>
#include <linux/pid.h> #include <linux/pid.h>
#include <linux/clocksource.h> #include <linux/clocksource.h>
#include <linux/kbuild.h>
#include <asm-ia64/processor.h> #include <asm-ia64/processor.h>
#include <asm-ia64/ptrace.h> #include <asm-ia64/ptrace.h>
#include <asm-ia64/siginfo.h> #include <asm-ia64/siginfo.h>
...@@ -19,11 +19,6 @@ ...@@ -19,11 +19,6 @@
#include "../kernel/sigframe.h" #include "../kernel/sigframe.h"
#include "../kernel/fsyscall_gtod_data.h" #include "../kernel/fsyscall_gtod_data.h"
#define DEFINE(sym, val) \
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
#define BLANK() asm volatile("\n->" : : )
void foo(void) void foo(void)
{ {
DEFINE(IA64_TASK_SIZE, sizeof (struct task_struct)); DEFINE(IA64_TASK_SIZE, sizeof (struct task_struct));
......
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