X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-h8300%2Fprocessor.h;h=99b664aa20837e3f1d674800bc9377932267802e;hb=97bf2856c6014879bd04983a3e9dfcdac1e7fe85;hp=59900733c714621083c620724c30697297593252;hpb=9213980e6a70d8473e0ffd4b39ab5b6caaba9ff5;p=linux-2.6.git diff --git a/include/asm-h8300/processor.h b/include/asm-h8300/processor.h index 59900733c..99b664aa2 100644 --- a/include/asm-h8300/processor.h +++ b/include/asm-h8300/processor.h @@ -17,7 +17,7 @@ */ #define current_text_addr() ({ __label__ _l; _l: &&_l;}) -#include +#include #include #include #include @@ -45,11 +45,6 @@ static inline void wrusp(unsigned long usp) { */ #define TASK_UNMAPPED_BASE 0 -/* - * Bus types - */ -#define MCA_bus 0 - struct thread_struct { unsigned long ksp; /* kernel stack pointer */ unsigned long usp; /* user stack pointer */ @@ -135,6 +130,6 @@ unsigned long get_wchan(struct task_struct *p); eip; }) #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp) -#define cpu_relax() do { } while (0) +#define cpu_relax() barrier() #endif