lkml.org 
[lkml]   [2009]   [Jan]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH -mmotm] mm: unify some pmd_*() functions fix for m68k sun3
Date
sun3_defconfig fails with:

CC mm/memory.o
mm/memory.c: In function 'free_pmd_range':
mm/memory.c:176: error: implicit declaration of function '__pmd_free_tlb'
mm/memory.c: In function '__pmd_alloc':
mm/memory.c:2903: error: implicit declaration of function 'pmd_alloc_one_bug'
mm/memory.c:2903: warning: initialization makes pointer from integer without a cast
mm/memory.c:2917: error: implicit declaration of function 'pmd_free'
make[3]: *** [mm/memory.o] Error 1

Add the missing include.

Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Andrea Righi <righi.andrea@gmail.com>
---
include/asm-m68k/sun3_pgalloc.h | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/include/asm-m68k/sun3_pgalloc.h b/include/asm-m68k/sun3_pgalloc.h
index 0fe28fc..399d280 100644
--- a/include/asm-m68k/sun3_pgalloc.h
+++ b/include/asm-m68k/sun3_pgalloc.h
@@ -11,6 +11,7 @@
#define _SUN3_PGALLOC_H

#include <asm/tlb.h>
+#include <asm-generic/pgtable-nopmd.h>

/* FIXME - when we get this compiling */
/* erm, now that it's compiling, what do we do with it? */
--
1.5.6.3


\
 
 \ /
  Last update: 2009-01-29 23:03    [W:0.101 / U:0.560 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site