Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 161640
b: refs/heads/master
c: 79ba6ac
h: refs/heads/master
v: v3
  • Loading branch information
Tejun Heo committed Jul 3, 2009
1 parent a4d0057 commit 3d5a705
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: c43768cbb7655ea5ff782ae250f6e2ef4297cf98
refs/heads/master: 79ba6ac825fac187894e236c9df1ba5fcbf53fd3
2 changes: 1 addition & 1 deletion trunk/mm/percpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,7 @@ static struct pcpu_chunk *pcpu_chunk_addr_search(void *addr)
void *first_start = pcpu_first_chunk->vm->addr;

/* is it in the first chunk? */
if (addr >= first_start && addr < first_start + pcpu_chunk_size) {
if (addr >= first_start && addr < first_start + pcpu_unit_size) {
/* is it in the reserved area? */
if (addr < first_start + pcpu_reserved_chunk_limit)
return pcpu_reserved_chunk;
Expand Down

0 comments on commit 3d5a705

Please sign in to comment.