Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161349
b: refs/heads/master
c: 8de0307
h: refs/heads/master
i:
  161347: 3658872
v: v3
  • Loading branch information
Wu Fengguang authored and Rafael J. Wysocki committed Sep 14, 2009
1 parent 30e3c59 commit 4da49a0
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 98e73dc5d2dadfcb95305ad71ac9239f4e361870
refs/heads/master: 8de0307326be94148436082a9abf365da8e3c66d
4 changes: 2 additions & 2 deletions trunk/kernel/power/snapshot.c
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ static void *chain_alloc(struct chain_allocator *ca, unsigned int size)

#define BM_END_OF_MAP (~0UL)

#define BM_BITS_PER_BLOCK (PAGE_SIZE << 3)
#define BM_BITS_PER_BLOCK (PAGE_SIZE * BITS_PER_BYTE)

struct bm_block {
struct list_head hook; /* hook into a list of bitmap blocks */
Expand Down Expand Up @@ -275,7 +275,7 @@ static void memory_bm_free(struct memory_bitmap *bm, int clear_nosave_free);

/**
* create_bm_block_list - create a list of block bitmap objects
* @nr_blocks - number of blocks to allocate
* @pages - number of pages to track
* @list - list to put the allocated blocks into
* @ca - chain allocator to be used for allocating memory
*/
Expand Down

0 comments on commit 4da49a0

Please sign in to comment.