[PATCH, BACKPORT] end-of-stack detection

From: Manfred Spraul
Date: Wed Jan 14 2004 - 13:54:35 EST


The oops dump code detects the end of the kernel stack with
(addr & (THREAD_SIZE-1))
This fails if the kernel stack is not 32-bit aligned. This can happen if an APM bios call is interrupted and then causes an oops. The result is an unreadable and incomplete oops dump. 2.6 contains a similar fix.

Marcelo, could you apply the patch to your tree?

--
Manfred

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