diff options
author | 2021-12-27 16:35:44 +0100 | |
---|---|---|
committer | 2021-12-27 16:35:44 +0100 | |
commit | 3f0bb496ee41d0eb99d308768c9f8593cbd3eb9f (patch) | |
tree | c56b697a7e818e91974d951872781bfd9b3af5b5 /mm/util.c | |
parent | thermal: tools: tmon: remove unneeded local variable (diff) | |
parent | Merge back int340x driver material for 5.17. (diff) | |
download | wireguard-linux-3f0bb496ee41d0eb99d308768c9f8593cbd3eb9f.tar.xz wireguard-linux-3f0bb496ee41d0eb99d308768c9f8593cbd3eb9f.zip |
Merge branches 'thermal-tools' and 'thermal-int340x'
Merge tmon fix and int340x driver improvement for 5.17-rc1.
* thermal-tools:
thermal: tools: tmon: remove unneeded local variable
* thermal-int340x:
thermal: int340x: Use struct_group() for memcpy() region
Diffstat (limited to 'mm/util.c')
-rw-r--r-- | mm/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mm/util.c b/mm/util.c index e58151a61255..741ba32a43ac 100644 --- a/mm/util.c +++ b/mm/util.c @@ -670,7 +670,7 @@ bool folio_mapped(struct folio *folio) { long i, nr; - if (folio_test_single(folio)) + if (!folio_test_large(folio)) return atomic_read(&folio->_mapcount) >= 0; if (atomic_read(folio_mapcount_ptr(folio)) >= 0) return true; |