Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 86215
b: refs/heads/master
c: 8ca3ed8
h: refs/heads/master
i:
  86213: 4bee0db
  86211: 4c864ab
  86207: cfedb2e
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Feb 24, 2008
1 parent a9bc8da commit 1ac3a4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0400b697ef20247d26427e4beb6a84ca5aa51f45
refs/heads/master: 8ca3ed87db062201e1fa15b64a9214e193fc3a8a
2 changes: 2 additions & 0 deletions trunk/include/linux/mm.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,13 +235,15 @@ static inline int get_page_unless_zero(struct page *page)
struct page *vmalloc_to_page(const void *addr);
unsigned long vmalloc_to_pfn(const void *addr);

#ifdef CONFIG_MMU
/* Determine if an address is within the vmalloc range */
static inline int is_vmalloc_addr(const void *x)
{
unsigned long addr = (unsigned long)x;

return addr >= VMALLOC_START && addr < VMALLOC_END;
}
#endif

static inline struct page *compound_head(struct page *page)
{
Expand Down

0 comments on commit 1ac3a4f

Please sign in to comment.