Commit f37d940d authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Greg Kroah-Hartman
Browse files

m32r: make memset() global for CONFIG_KERNEL_BZIP2=y

commit 9a75c6e5


Fix the m32r compile error:

  arch/m32r/boot/compressed/misc.c:31:14: error: static declaration of 'memset' follows non-static declaration
  make[5]: *** [arch/m32r/boot/compressed/misc.o] Error 1
  make[4]: *** [arch/m32r/boot/compressed/vmlinux] Error 2

by removing the static keyword.
Signed-off-by: default avatarGeert Uytterhoeven <>
Cc: Hirokazu Takata <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
Cc: Ben Hutchings <>
Signed-off-by: default avatarGreg Kroah-Hartman <>
parent 73efe776
......@@ -28,7 +28,7 @@ static unsigned long free_mem_ptr;
static unsigned long free_mem_end_ptr;
static void *memset(void *s, int c, size_t n)
void *memset(void *s, int c, size_t n)
char *ss = s;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment