aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/memblock.h
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-08-04 13:52:25 +1000
committerBenjamin Herrenschmidt <benh@kernel.crashing.org>2010-08-05 12:56:02 +1000
commit1e2b904026e9debf95f500b8980a00c43ac0f31c (patch)
tree8fcd7bd0880d04428ed20c38e6dcc0790edf320a /include/linux/memblock.h
parent719c1514f2fef5f01fcfa2bba81b7bb079c7c6a1 (diff)
downloadkernel_samsung_smdk4412-1e2b904026e9debf95f500b8980a00c43ac0f31c.tar.gz
kernel_samsung_smdk4412-1e2b904026e9debf95f500b8980a00c43ac0f31c.tar.bz2
kernel_samsung_smdk4412-1e2b904026e9debf95f500b8980a00c43ac0f31c.zip
memblock: Remove obsolete accessors
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Diffstat (limited to 'include/linux/memblock.h')
-rw-r--r--include/linux/memblock.h23
1 files changed, 0 insertions, 23 deletions
diff --git a/include/linux/memblock.h b/include/linux/memblock.h
index c914112cd24..7d70fdd43db 100644
--- a/include/linux/memblock.h
+++ b/include/linux/memblock.h
@@ -64,29 +64,6 @@ extern int memblock_find(struct memblock_region *res);
extern void memblock_dump_all(void);
-/* Obsolete accessors */
-static inline u64
-memblock_size_bytes(struct memblock_type *type, unsigned long region_nr)
-{
- return type->regions[region_nr].size;
-}
-static inline u64
-memblock_size_pages(struct memblock_type *type, unsigned long region_nr)
-{
- return memblock_size_bytes(type, region_nr) >> PAGE_SHIFT;
-}
-static inline u64
-memblock_start_pfn(struct memblock_type *type, unsigned long region_nr)
-{
- return type->regions[region_nr].base >> PAGE_SHIFT;
-}
-static inline u64
-memblock_end_pfn(struct memblock_type *type, unsigned long region_nr)
-{
- return memblock_start_pfn(type, region_nr) +
- memblock_size_pages(type, region_nr);
-}
-
/*
* pfn conversion functions
*