From: Hans Reiser When kernel is compiled with CONFIG_FRAME_POINTER reiser4 turns on debugging code which provides stack back-trace. It is collected through __builtin_return_address() gcc builtin. Unfortunately, __builtin_return_address() doesn't provide means to detect when bottom of the stack is reached, and just crashed when trying to access non-existent frame. Reiser4 implements a work around for this problem. For this it needs kswapd to be not static. Signed-off-by: Andrew Morton --- 25-akpm/mm/vmscan.c | 2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN mm/vmscan.c~reiser4-unstatic-kswapd mm/vmscan.c --- 25/mm/vmscan.c~reiser4-unstatic-kswapd 2004-12-27 00:31:08.249355080 -0800 +++ 25-akpm/mm/vmscan.c 2004-12-27 00:31:08.255354168 -0800 @@ -1148,7 +1148,7 @@ out: * If there are applications that are active memory-allocators * (most normal use), this basically shouldn't matter. */ -static int kswapd(void *p) +int kswapd(void *p) { unsigned long order; pg_data_t *pgdat = (pg_data_t*)p; _