Re: [PATCH v4 17/29] nios2: System calls handling

From: Ley Foon Tan
Date: Thu Oct 09 2014 - 04:38:55 EST


On Thu, Oct 9, 2014 at 3:47 PM, Tobias Klauser <tklauser@xxxxxxxxxx> wrote:
>> +#if defined(CONFIG_FB) || defined(CONFIG_FB_MODULE)
>> +#include <linux/fb.h>
>> +unsigned long get_fb_unmapped_area(struct file *filp, unsigned long orig_addr,
>> + unsigned long len, unsigned long pgoff, unsigned long flags)
>> +{
>> +
>> + struct fb_info *info = filp->private_data;
>> +
>> + return (unsigned long)info->screen_base;
>> +}
>> +EXPORT_SYMBOL(get_fb_unmapped_area);
>
> get_fb_unmapped_area only used if HAVE_ARCH_FB_UNMAPPED_AREA is defined,
> but this isn't the case for nios2. AFAICS the altfb driver has been
> broken on nios2 for a long time anyway, so I'd suggest to just remove
> this function for now.
Okay.

Regards
Ley Foon
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/