Subject: Re: [PATCH 24/60] microblaze_v4: asm-offsets

From: Paul Mundt <[email-masked]>
Date: Sat, 28 Jun 2008 13:43:58 +0900

On Thu, Jun 26, 2008 at 02:29:53PM +0200, [email-masked] wrote:
> +#include <linux/stddef.h>
> +#include <linux/sched.h>
> +#include <linux/kernel_stat.h>
> +#include <linux/ptrace.h>
> +#include <linux/hardirq.h>
> +#include <linux/thread_info.h>
> +
> +#define DEFINE(sym, val) asm volatile("\n->" #sym " %0 " #val : : "i" (val))
> +#define BLANK() asm volatile("\n->" : :)
> +
There are generic definitions for these these days, include linux/kbuild.h.