Commit ffceeb62 authored by Ethon Paul's avatar Ethon Paul Committed by Linus Torvalds

mm/filemap: fix a typo in comment "unneccssary"->"unnecessary"

There is a typo in comment, fix it.
Signed-off-by: default avatarEthon Paul <ethp@qq.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
Reviewed-by: default avatarRalph Campbell <rcampbell@nvidia.com>
Link: http://lkml.kernel.org/r/20200411065141.15936-1-ethp@qq.comSigned-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
parent 3dc5f032
...@@ -1256,7 +1256,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue); ...@@ -1256,7 +1256,7 @@ EXPORT_SYMBOL_GPL(add_page_wait_queue);
* instead. * instead.
* *
* The read of PG_waiters has to be after (or concurrently with) PG_locked * The read of PG_waiters has to be after (or concurrently with) PG_locked
* being cleared, but a memory barrier should be unneccssary since it is * being cleared, but a memory barrier should be unnecessary since it is
* in the same byte as PG_locked. * in the same byte as PG_locked.
*/ */
static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem) static inline bool clear_bit_unlock_is_negative_byte(long nr, volatile void *mem)
......
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