X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=include%2Fasm-m68knommu%2Fprocessor.h;h=85a054e758b198f886f78b153f20f3e9301c51df;hb=6a77f38946aaee1cd85eeec6cf4229b204c15071;hp=736e3192f46444ee19562426a965cc3ac9fad116;hpb=87fc8d1bb10cd459024a742c6a10961fefcef18f;p=linux-2.6.git diff --git a/include/asm-m68knommu/processor.h b/include/asm-m68knommu/processor.h index 736e3192f..85a054e75 100644 --- a/include/asm-m68knommu/processor.h +++ b/include/asm-m68knommu/processor.h @@ -55,11 +55,6 @@ extern inline void wrusp(unsigned long usp) */ #define TASK_UNMAPPED_BASE 0 -/* - * Bus types - */ -#define MCA_bus 0 - /* * if you change this structure, you must change the code and offsets * in m68k/machasm.S @@ -126,7 +121,7 @@ unsigned long get_wchan(struct task_struct *p); ({ \ unsigned long eip = 0; \ if ((tsk)->thread.esp0 > PAGE_SIZE && \ - MAP_NR((tsk)->thread.esp0) < max_mapnr) \ + (virt_addr_valid((tsk)->thread.esp0))) \ eip = ((struct pt_regs *) (tsk)->thread.esp0)->pc; \ eip; }) #define KSTK_ESP(tsk) ((tsk) == current ? rdusp() : (tsk)->thread.usp)