:/# uname -a
Linux devil 2.6.22.16-amd64 #15 SMP Sat Jan 19 13:58:02 BRT 2008
x86_64 GNU/Linux
:/# cd /usr/src/linux-2.6.22
:/# patch -p1 -R < ../patch-2.6.22.16
:/# patch -p1 < ../patch-2.6.23
:/# patch -p1 < ../patch-2.6.24
:/# cd /usr/src/ ; mv linux-2.6.22 linux-2.6.24; cd linux-2.6.24
:/usr/src/linux-2.6.24# make oldconfig
:/usr/src/linux-2.6.24# make all
CHK include/linux/version.h
CHK include/linux/utsrelease.h
ERROR: the symlink include/asm points to asm-x86_64 but asm-x86 was expected
set ARCH or save .config and run 'make mrproper' to fix it
make: ** [include/asm] Erro 1