Re: wait_on_irq, CPU1

Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Wed, 29 Dec 1999 12:47:01 -0600


Also sprach Andi Kleen:
} --- linux-2.2.13/arch/i386/lib/kbacktrace.c.NOSHOW Wed Dec 29 02:43:22 1999
} +++ linux-2.2.13/arch/i386/lib/kbacktrace.c Wed Dec 29 13:08:41 1999
} @@ -0,0 +1,179 @@
} +/*
} + Generic backtrace for i386.
} + Based on the code in i386/kernel/traps.c, but with accurate module checking and does
} + not require an frame pointer on the stack.
} +
} + Hacked by Andi Kleen <ak@suse.de>.
} + Should call to kdb if available.
} + Subject to the GPL.
} + */

[snip...]

} + module_start = PAGE_OFFSET + (max_mapnr << PAGE_SHIFT);
} + module_start = ((module_start + VMALLOC_OFFSET) & ~(VMALLOC_OFFSET-1));
} +
} + i = 1;
} + while (((long) stack & (8192-1)) != 0) {
^^^^
Would it be a better idea to use a #defined value here (and in other
places) such as THREAD_SIZE to avoid confusion? Just a suggestion.

Cheers,
Bill

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/