Compile error from make: mm/vmscan.c: In function `refill_inactive_zone': mm/vmscan.c:649: error: `swapper_space' undeclared (first use in thisfunction) mm/vmscan.c:649: error: (Each undeclared identifier is reported onlyonce mm/vmscan.c:649: error: for each function it appears in.) make[1]: *** [mm/vmscan.o] Error 1 make: *** [mm] Error 2 problem fixed by adding CONFIG_SWAP=y in .config
this problem only occurs when used with linux-2.6.0 headers. Can you confirm your using 2.6.0 headers? I shall look at this bug after my holiday. Thanks for bugging :)
Created attachment 26099 [details, diff] Patch Nope, kernel headers don't have anything to do with the kernel - remember that the kernel is the kernel-headers source so that would mean that the kernel is broken in the end anyway. Anyhow, this is caused by 425_am6-2.6.3.patch which isn't properly #ifdef CONFIG_SWAP'ped like the rest of the vmscan.c file. Anyway, this patch on that patch should work
this has been fixed in CVS and shall go mainstream sometime soon