[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

low latency patch on powerpc won't compile: fbcon_cfb16_putcs: underfined reference


I'm trying to compile the low latency patch with the powerpc kernel.  I
patched the kernel, and edited arch/ppc/config.in to allow me to select

However, when I compile, It always dies with this message.

make[2]: Leaving directory `/usr/src/kernel-source-2.4.22/arch/ppc/lib'
ld -T arch/ppc/vmlinux.lds -Ttext 0xc0000000 -Bstatic
arch/ppc/kernel/head.o arch/ppc/kernel/idle_6xx.o init/main.o
init/version.o init/do_mounts.o \
        --start-group \
        arch/ppc/kernel/kernel.o arch/ppc/platforms/platform.o
arch/ppc/mm/mm.o arch/ppc/lib/lib.o kernel/kernel.o mm/mm.o fs/fs.o
ipc/ipc.o \
         drivers/char/char.o drivers/block/block.o drivers/misc/misc.o
drivers/net/net.o drivers/ide/idedriver.o drivers/cdrom/driver.o
drivers/pci/driver.o drivers/net/wireless/wireless_net.o
drivers/macintosh/macintosh.o drivers/video/video.o drivers/usb/usbdrv.o
drivers/media/media.o drivers/input/inputdrv.o crypto/crypto.o \
        net/network.o \
        /usr/src/kernel-source-2.4.22/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/video/video.o(.text+0xd95c): In function `fbcon_cfb16_putcs':
: undefined reference to `conditional_schedule'
drivers/video/video.o(.text+0xda50): In function `fbcon_cfb16_putcs':
: undefined reference to `conditional_schedule'
make[1]: *** [vmlinux] Error 1
make[1]: Leaving directory `/usr/src/kernel-source-2.4.22'
make: *** [stamp-build] Error 2

I tried putting

#include <linux/lowlatency.h>

in fbcon_cfb16.c, but that brought up other error.

Any ideas how to fix this?

I'm a bit confused about the includes.

If fbcon_cfb16.c has #include <video/fbcon.h>
and fbcon.c (not .h) has #include <linux/sched.h>
and linux/sched.h has #include <linux/lowlatency.h>
then, can fbcon_cfb16.c call functions in lowlatency.h?

thanks in advance.


Reply to: