I found where did deactivate_page used to be defined: it's in mm/swap.c
it's been removed from the 2.4.14 release.:(
in 2.4.13:
/* Deactivate_page will move an active page to the right
* inactive list, while activate_page will move a page back
* from one of the inactive lists to the active list. If
* called on a page which is not on any of the lists, the
* page is left alone.
*/
static inline void deactivate_page_nolock(struct page * page)
{
if (PageActive(page)) {
del_page_from_active_list(page);
add_page_to_inactive_list(page);
}
}
What's the latest version of 2.4 series? Oh, it's 2.4.16. And that bug was fixed in 24 hrs.
reply to my own question:
:(
I found where did deactivate_page used to be defined: it's in mm/swap.c
it's been removed from the 2.4.14 release.
in 2.4.13:
/* Deactivate_page will move an active page to the right
* inactive list, while activate_page will move a page back
* from one of the inactive lists to the active list. If
* called on a page which is not on any of the lists, the
* page is left alone.
*/
static inline void deactivate_page_nolock(struct page * page)
{
if (PageActive(page)) {
del_page_from_active_list(page);
add_page_to_inactive_list(page);
}
}
void deactivate_page(struct page * page)
{
spin_lock(&pagemap_lru_lock);
deactivate_page_nolock(page);
spin_unlock(&pagemap_lru_lock);
}
make dep clean bmImage
was what I did. Looks good to you?
ld -m elf_i386 -T /usr/src/kernel/2.4.14/arch/i386/vmlinux.lds -e stext arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o init/version.o \
/usr/src/kernel/2.4.14/arch/i386/lib/lib.a /usr/src/kernel/2.4.14/lib/lib.a /usr/src/kernel/2.4.14/arch/i386/lib/lib.a \
--start-group \
arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o fs/fs.o ipc/ipc.o \
drivers/parport/driver.o drivers/char/char.o drivers/block/block.o drivers/misc/misc.o drivers/net/net.o drivers/media/media.o drivers/char/agp/agp.o drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o drivers/input/inputdrv.o \
net/network.o \
--end-group \
-o vmlinux
drivers/block/block.o: In function `lo_send':
drivers/block/block.o(.text+0x854f): undefined reference to `deactivate_page'
drivers/block/block.o(.text+0x8599): undefined reference to `deactivate_page'
make: *** [vmlinux] Error 1
. apm broken (both):
whenever X exits, the system crash or reboot
without going throught "init 6".
. if CONFIG_IDEPCI_SHARE_IRQ set, 2.4.11 compile
fails
I cannot believe they are releases of stable branch, Sigh.
LOL: linux7.0, hahahahahaaaaa