Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 49a7f04a authored by David Howells's avatar David Howells
Browse files

Move all declarations of free_initmem() to linux/mm.h



Move all declarations of free_initmem() to linux/mm.h so that there's only one
and it's used by everything.

Signed-off-by: default avatarDavid Howells <dhowells@redhat.com>
cc: linux-c6x-dev@linux-c6x.org
cc: microblaze-uclinux@itee.uq.edu.au
cc: linux-sh@vger.kernel.org
cc: sparclinux@vger.kernel.org
cc: x86@kernel.org
cc: linux-mm@kvack.org
parent 705f4502
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -4,4 +4,3 @@
#include <asm/exec.h>
#include <asm/special_insns.h>
#include <asm/switch_to.h>
extern void free_initmem(void);
+0 −2
Original line number Diff line number Diff line
/* FILE TO BE DELETED. DO NOT ADD STUFF HERE! */
#include <asm/barrier.h>
#include <asm/cmpxchg.h>
#include <asm/exec.h>
#include <asm/switch_to.h>
extern void free_initmem(void);
+0 −1
Original line number Diff line number Diff line
@@ -4,4 +4,3 @@
#include <asm/exec.h>
#include <asm/special_insns.h>
#include <asm/switch_to.h>
extern void free_initmem(void);
+0 −1
Original line number Diff line number Diff line
@@ -6,4 +6,3 @@
#include <asm/exec.h>
#include <asm/switch_to.h>
#include <asm/traps.h>
void free_initmem(void);
+0 −2
Original line number Diff line number Diff line
@@ -36,8 +36,6 @@ extern unsigned long kern_locked_tte_data;

extern void prom_world(int enter);

extern void free_initmem(void);

#ifdef CONFIG_SPARSEMEM_VMEMMAP
#define VMEMMAP_CHUNK_SHIFT	22
#define VMEMMAP_CHUNK		(1UL << VMEMMAP_CHUNK_SHIFT)
Loading