Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 356125
b: refs/heads/master
c: add09d6
h: refs/heads/master
i:
  356123: efcc2e5
v: v3
  • Loading branch information
Sebastian Ott authored and Martin Schwidefsky committed Feb 14, 2013
1 parent 5d0becd commit 15b788c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 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: bf4ec24ff8ab54d56c835eb61212a1e87270d7c8
refs/heads/master: add09d61fee72d7a346051332b6d99f18989504c
2 changes: 1 addition & 1 deletion trunk/arch/s390/include/asm/clp.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#define _ASM_S390_CLP_H

/* CLP common request & response block size */
#define CLP_BLK_SIZE (PAGE_SIZE * 2)
#define CLP_BLK_SIZE PAGE_SIZE

struct clp_req_hdr {
u16 len;
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/s390/pci/pci_clp.c
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ static inline u8 clp_instr(void *data)

static void *clp_alloc_block(void)
{
struct page *page = alloc_pages(GFP_KERNEL, get_order(CLP_BLK_SIZE));
return (page) ? page_address(page) : NULL;
return (void *) __get_free_pages(GFP_KERNEL, get_order(CLP_BLK_SIZE));
}

static void clp_free_block(void *ptr)
Expand Down

0 comments on commit 15b788c

Please sign in to comment.