Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 217092
b: refs/heads/master
c: 5260562
h: refs/heads/master
v: v3
  • Loading branch information
David Howells authored and Linus Torvalds committed Oct 25, 2010
1 parent eeefe70 commit 138e906
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 74eb94b218d087798a52c0b4f1379b635287a4b8
refs/heads/master: 5260562754c0aa4b95eebb1f851eaccce7286365
2 changes: 1 addition & 1 deletion trunk/arch/mn10300/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ SECTIONS
.exit.text : { EXIT_TEXT; }
.exit.data : { EXIT_DATA; }

PERCPU(32)
PERCPU(PAGE_SIZE)
. = ALIGN(PAGE_SIZE);
__init_end = .;
/* freed after init ends here */
Expand Down
4 changes: 3 additions & 1 deletion trunk/kernel/workqueue.c
Original file line number Diff line number Diff line change
Expand Up @@ -2791,7 +2791,9 @@ static int alloc_cwqs(struct workqueue_struct *wq)
}
}

/* just in case, make sure it's actually aligned */
/* just in case, make sure it's actually aligned
* - this is affected by PERCPU() alignment in vmlinux.lds.S
*/
BUG_ON(!IS_ALIGNED(wq->cpu_wq.v, align));
return wq->cpu_wq.v ? 0 : -ENOMEM;
}
Expand Down

0 comments on commit 138e906

Please sign in to comment.