[ARM] 3365/1: [cleanup] header for compat.c exported functions
Patch from Ben Dooks arch/arm/kernel/compat.c exports two functions, convert_to_tag_list and squash_mem_tags which are not defined in any header files, and not used outside arch/arm/kernel. Signed-off-by: Ben Dooks <ben-linux@fluff.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
@@ -27,6 +27,8 @@
|
|||||||
|
|
||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Usage:
|
* Usage:
|
||||||
* - do not go blindly adding fields, add them at the end
|
* - do not go blindly adding fields, add them at the end
|
||||||
|
13
arch/arm/kernel/compat.h
Normal file
13
arch/arm/kernel/compat.h
Normal file
@@ -0,0 +1,13 @@
|
|||||||
|
/*
|
||||||
|
* linux/arch/arm/kernel/compat.h
|
||||||
|
*
|
||||||
|
* Copyright (C) 2001 Russell King
|
||||||
|
*
|
||||||
|
* This program is free software; you can redistribute it and/or modify
|
||||||
|
* it under the terms of the GNU General Public License version 2 as
|
||||||
|
* published by the Free Software Foundation.
|
||||||
|
*/
|
||||||
|
|
||||||
|
extern void convert_to_tag_list(struct tag *tags);
|
||||||
|
|
||||||
|
extern void squash_mem_tags(struct tag *tag);
|
@@ -37,6 +37,8 @@
|
|||||||
#include <asm/mach/irq.h>
|
#include <asm/mach/irq.h>
|
||||||
#include <asm/mach/time.h>
|
#include <asm/mach/time.h>
|
||||||
|
|
||||||
|
#include "compat.h"
|
||||||
|
|
||||||
#ifndef MEM_SIZE
|
#ifndef MEM_SIZE
|
||||||
#define MEM_SIZE (16*1024*1024)
|
#define MEM_SIZE (16*1024*1024)
|
||||||
#endif
|
#endif
|
||||||
@@ -55,8 +57,6 @@ __setup("fpe=", fpe_setup);
|
|||||||
|
|
||||||
extern unsigned int mem_fclk_21285;
|
extern unsigned int mem_fclk_21285;
|
||||||
extern void paging_init(struct meminfo *, struct machine_desc *desc);
|
extern void paging_init(struct meminfo *, struct machine_desc *desc);
|
||||||
extern void convert_to_tag_list(struct tag *tags);
|
|
||||||
extern void squash_mem_tags(struct tag *tag);
|
|
||||||
extern void reboot_setup(char *str);
|
extern void reboot_setup(char *str);
|
||||||
extern int root_mountflags;
|
extern int root_mountflags;
|
||||||
extern void _stext, _text, _etext, __data_start, _edata, _end;
|
extern void _stext, _text, _etext, __data_start, _edata, _end;
|
||||||
|
Reference in New Issue
Block a user