X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=include%2Fasm-frv%2Fprocessor.h;h=3744f2e47f48fcd92fe03e9e89b550b841736e6d;hb=fc36b8d3d819047eb4d23ca079fb4d3af20ff076;hp=1c4dba1c5f57168eb70954b0bc75138485d71a0c;hpb=71d530cd1b6d97094481002a04c77fea1c8e1c22;p=linux-2.6 diff --git a/include/asm-frv/processor.h b/include/asm-frv/processor.h index 1c4dba1c5f..3744f2e47f 100644 --- a/include/asm-frv/processor.h +++ b/include/asm-frv/processor.h @@ -21,6 +21,7 @@ */ #define current_text_addr() ({ __label__ _l; _l: &&_l;}) +#include #include #include #include @@ -139,7 +140,7 @@ unsigned long get_wchan(struct task_struct *p); extern struct task_struct *alloc_task_struct(void); extern void free_task_struct(struct task_struct *p); -#define cpu_relax() do { } while (0) +#define cpu_relax() barrier() /* data cache prefetch */ #define ARCH_HAS_PREFETCH