Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 324509
b: refs/heads/master
c: 6539a36
h: refs/heads/master
i:
  324507: 59c76af
v: v3
  • Loading branch information
Seth Jennings authored and Greg Kroah-Hartman committed Aug 14, 2012
1 parent c800fc6 commit 551c23c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 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: 6ebb56d974b2c0b31effd1bb2bde554582a9ebd8
refs/heads/master: 6539a36c0cb9ec7f1c1633b535ac83b2bdf0ae6d
12 changes: 6 additions & 6 deletions trunk/drivers/staging/zsmalloc/zsmalloc-main.c
Original file line number Diff line number Diff line change
Expand Up @@ -470,15 +470,15 @@ static struct page *find_get_zspage(struct size_class *class)
return page;
}

static void zs_copy_map_object(char *buf, struct page *firstpage,
static void zs_copy_map_object(char *buf, struct page *page,
int off, int size)
{
struct page *pages[2];
int sizes[2];
void *addr;

pages[0] = firstpage;
pages[1] = get_next_page(firstpage);
pages[0] = page;
pages[1] = get_next_page(page);
BUG_ON(!pages[1]);

sizes[0] = PAGE_SIZE - off;
Expand All @@ -493,15 +493,15 @@ static void zs_copy_map_object(char *buf, struct page *firstpage,
kunmap_atomic(addr);
}

static void zs_copy_unmap_object(char *buf, struct page *firstpage,
static void zs_copy_unmap_object(char *buf, struct page *page,
int off, int size)
{
struct page *pages[2];
int sizes[2];
void *addr;

pages[0] = firstpage;
pages[1] = get_next_page(firstpage);
pages[0] = page;
pages[1] = get_next_page(page);
BUG_ON(!pages[1]);

sizes[0] = PAGE_SIZE - off;
Expand Down

0 comments on commit 551c23c

Please sign in to comment.