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

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



On Sat, Oct 04, 2003 at 04:55:38PM -0700, Marshal Wong wrote:
> I tried putting
> 
> #include <linux/lowlatency.h>
> 
> in fbcon_cfb16.c, but that brought up other error.

You need to put in

  #include <linux/sched.h>

That fixed it for me.

> 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?

Nope. fbcon_cfb16.c never sees lowlatency.h that way. And it's not a
function, it's a macro.

-- 
Matijs van Zuijlen

Attachment: signature.asc
Description: Digital signature


Reply to: