Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 212688
b: refs/heads/master
c: 1e2b904
h: refs/heads/master
v: v3
  • Loading branch information
Benjamin Herrenschmidt committed Aug 5, 2010
1 parent 193a178 commit 1d693ed
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 719c1514f2fef5f01fcfa2bba81b7bb079c7c6a1
refs/heads/master: 1e2b904026e9debf95f500b8980a00c43ac0f31c
23 changes: 0 additions & 23 deletions trunk/include/linux/memblock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 1d693ed

Please sign in to comment.