author: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-13 10:43:04 -0700
committer: Linus Torvalds <torvalds@linux-foundation.org> 2021-09-13 10:43:04 -0700
commit: 316346243be6df12799c0b64b788e06bad97c30b
parent: a69ae291e1cc2d08ae77c2029579c59c9bde5061
Commit Summary:
Diffstat:
1 file changed, 0 insertions, 2 deletions
diff --git a/mm/ksm.c b/mm/ksm.c
index 025338128cd9..a5716fdec1aa 100644
--- a/mm/ksm.c
+++ b/mm/ksm.c
@@ -651,10 +651,8 @@ static void remove_node_from_stable_tree(struct stable_node *stable_node)
* from &migrate_nodes. This will verify that future list.h changes
* don't break STABLE_NODE_DUP_HEAD. Only recent gcc can handle it.
*/
-#if defined(GCC_VERSION) && GCC_VERSION >= 40903
BUILD_BUG_ON(STABLE_NODE_DUP_HEAD <= &migrate_nodes);
BUILD_BUG_ON(STABLE_NODE_DUP_HEAD >= &migrate_nodes + 1);
-#endif
if (stable_node->head == &migrate_nodes)
list_del(&stable_node->list);