]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - arch/avr32/kernel/setup.c
avr32: Use <mach/foo.h> instead of <asm/arch/foo.h>
[mirror_ubuntu-artful-kernel.git] / arch / avr32 / kernel / setup.c
index 2687b730e2d006a638492b303429cbcb767a313a..d8e623c426c1f324c37369eca13cf358e3b85ab1 100644 (file)
@@ -26,8 +26,8 @@
 #include <asm/setup.h>
 #include <asm/sysreg.h>
 
-#include <asm/arch/board.h>
-#include <asm/arch/init.h>
+#include <mach/board.h>
+#include <mach/init.h>
 
 extern int root_mountflags;
 
@@ -274,6 +274,8 @@ static int __init early_parse_fbmem(char *p)
                        printk(KERN_WARNING
                               "Failed to allocate framebuffer memory\n");
                        fbmem_size = 0;
+               } else {
+                       memset(__va(fbmem_start), 0, fbmem_size);
                }
        }