Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 6873
b: refs/heads/master
c: fd195c4
h: refs/heads/master
i:
  6871: f23f207
v: v3
  • Loading branch information
Deepak Saxena authored and Linus Torvalds committed Sep 5, 2005
1 parent b92f006 commit 0d3e914
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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: 9b4ee40ebbbaf3f8c775b023d89ceedda1167d79
refs/heads/master: fd195c49fb17a21e232f50bddb2267150053cf34
8 changes: 8 additions & 0 deletions trunk/include/linux/vmalloc.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@
#define VM_MAP 0x00000004 /* vmap()ed pages */
/* bits [20..32] reserved for arch specific ioremap internals */

/*
* Maximum alignment for ioremap() regions.
* Can be overriden by arch-specific value.
*/
#ifndef IOREMAP_MAX_ORDER
#define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */
#endif

struct vm_struct {
void *addr;
unsigned long size;
Expand Down
2 changes: 0 additions & 2 deletions trunk/mm/vmalloc.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,8 +158,6 @@ int map_vm_area(struct vm_struct *area, pgprot_t prot, struct page ***pages)
return err;
}

#define IOREMAP_MAX_ORDER (7 + PAGE_SHIFT) /* 128 pages */

struct vm_struct *__get_vm_area(unsigned long size, unsigned long flags,
unsigned long start, unsigned long end)
{
Expand Down

0 comments on commit 0d3e914

Please sign in to comment.