Commit 2ed3d4f0 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://kernel.bkbits.net/gregkh/linux/usb-2.6

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 5d9c2d03 b60ee714
...@@ -76,7 +76,7 @@ EXPORT_SYMBOL(__lock_buffer); ...@@ -76,7 +76,7 @@ EXPORT_SYMBOL(__lock_buffer);
void fastcall unlock_buffer(struct buffer_head *bh) void fastcall unlock_buffer(struct buffer_head *bh)
{ {
clear_buffer_locked(bh); clear_buffer_locked(bh);
smp_mb(); smp_mb__after_clear_bit();
wake_up_bit(&bh->b_state, BH_Lock); wake_up_bit(&bh->b_state, BH_Lock);
} }
......
...@@ -420,8 +420,8 @@ void end_page_writeback(struct page *page) ...@@ -420,8 +420,8 @@ void end_page_writeback(struct page *page)
if (!TestClearPageReclaim(page) || rotate_reclaimable_page(page)) { if (!TestClearPageReclaim(page) || rotate_reclaimable_page(page)) {
if (!test_clear_page_writeback(page)) if (!test_clear_page_writeback(page))
BUG(); BUG();
smp_mb__after_clear_bit();
} }
smp_mb__after_clear_bit();
wake_up_page(page, PG_writeback); wake_up_page(page, PG_writeback);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment