Skip to content

Commit

Permalink
[ARM] Remove TABLE_SIZE, and several unused function prototypes
Browse files Browse the repository at this point in the history
TABLE_SIZE is never used in arch/arm/mm/init.c.  create_memmap_holes(),
memtable_init, and setup_io_desc() no longer exist in the kernel.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Russell King authored and Russell King committed Jun 28, 2006
1 parent e6b1b38 commit 888e7bf
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions arch/arm/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
#include <asm/mach/arch.h>
#include <asm/mach/map.h>

#define TABLE_SIZE (2 * PTRS_PER_PTE * sizeof(pte_t))

DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);

extern pgd_t swapper_pg_dir[PTRS_PER_PGD];
Expand Down
5 changes: 0 additions & 5 deletions include/asm-arm/mach/map.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ struct map_desc {
unsigned int type;
};

struct meminfo;

#define MT_DEVICE 0
#define MT_CACHECLEAN 1
#define MT_MINICLEAN 2
Expand All @@ -28,7 +26,4 @@ struct meminfo;
#define MT_IXP2000_DEVICE 7
#define MT_NONSHARED_DEVICE 8

extern void create_memmap_holes(struct meminfo *);
extern void memtable_init(struct meminfo *);
extern void iotable_init(struct map_desc *, int);
extern void setup_io_desc(void);

0 comments on commit 888e7bf

Please sign in to comment.