Patch by Johannes Winkelmann, jw@smts.ch --- linux-2.6.24.3/drivers/video/fbmem.c.orig 2008-06-22 14:24:51.000000000 +0200 +++ linux-2.6.24.3/drivers/video/fbmem.c 2008-06-22 14:49:54.000000000 +0200 @@ -46,6 +46,9 @@ struct fb_info *registered_fb[FB_MAX] __read_mostly; int num_registered_fb __read_mostly; +#ifdef CONFIG_LOGO +unsigned int fb_num_logos __read_mostly; +#endif /* * Helpers @@ -622,7 +625,7 @@ int y; y = fb_show_logo_line(info, rotate, fb_logo.logo, 0, - num_online_cpus()); + fb_num_logos ? fb_num_logos : num_online_cpus()); y = fb_show_extra_logos(info, y, rotate); return y; @@ -1651,8 +1654,22 @@ return 1; } __setup("video=", video_setup); + +#ifdef CONFIG_LOGO +static int __init num_logos_setup(char *options) +{ + fb_num_logos = 0; /* = use number of cpu */ + fb_num_logos = simple_strtoul(options, &options, 10); + if (*options) + fb_num_logos = 0; + + return 1; +} +__setup("num_logos=", num_logos_setup); #endif +#endif /* module */ + /* * Visible symbols for modules */