mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
alpha: use kbuild.h instead of macros in asm-offsets.c
Use the macros in kbuild.h Signed-off-by: Christoph Lameter <[email protected]> Cc: Jay Estabrook <[email protected]> Cc: Ivan Kokshaysky <[email protected]> Cc: Richard Henderson <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
fd04d20675
commit
26946f4e9b
1 changed files with 1 additions and 5 deletions
|
|
@ -8,13 +8,9 @@
|
|||
#include <linux/stddef.h>
|
||||
#include <linux/sched.h>
|
||||
#include <linux/ptrace.h>
|
||||
#include <linux/kbuild.h>
|
||||
#include <asm/io.h>
|
||||
|
||||
#define DEFINE(sym, val) \
|
||||
asm volatile("\n->" #sym " %0 " #val : : "i" (val))
|
||||
|
||||
#define BLANK() asm volatile("\n->" : : )
|
||||
|
||||
void foo(void)
|
||||
{
|
||||
DEFINE(TI_TASK, offsetof(struct thread_info, task));
|
||||
|
|
|
|||
Loading…
Reference in a new issue