]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
add some inlines
authorLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 8 Oct 2025 23:22:35 +0000 (19:22 -0400)
committerLiam R. Howlett <Liam.Howlett@oracle.com>
Wed, 8 Oct 2025 23:22:35 +0000 (19:22 -0400)
Signed-off-by: Liam R. Howlett <Liam.Howlett@oracle.com>
lib/maple_tree.c

index b2300c798feac067ae576f2d7b0a0f0f62c2dc31..6d36303aafd92ed680b9659219d51fff8b0b715e 100644 (file)
@@ -1547,7 +1547,7 @@ static inline unsigned long ma_leaf_max_gap(struct maple_node *mn,
  *
  * Return: The maximum gap in the leaf.
  */
-static unsigned long mas_leaf_max_gap(struct ma_state *mas)
+static inline unsigned long mas_leaf_max_gap(struct ma_state *mas)
 {
        enum maple_type mt;
        struct maple_node *mn;
@@ -3873,7 +3873,7 @@ static void mas_wr_rebalance(struct ma_wr_state *wr_mas)
  * mas_wr_store_entry() - Internal call to store a value
  * @wr_mas: The maple write state
  */
-static void mas_wr_store_entry(struct ma_wr_state *wr_mas)
+static inline void mas_wr_store_entry(struct ma_wr_state *wr_mas)
 {
        struct ma_state *mas = wr_mas->mas;