um: define set_pte_at() as a static inline function, not a macro
When defined as macro, the mm argument is unused and subsequently the variable passed as mm is considered unused by the compiler. This fixes a build warning. Signed-off-by: NBartosz Golaszewski <bgolaszewski@baylibre.com> Reviewed-by: NGeert Uytterhoeven <geert@linux-m68k.org> Reviewed-by: NAnton Ivanov <anton.ivanov@cambridgegreys.com> Acked-by: NAnton Ivanov <anton.ivanov@cambridgegreys.com> Signed-off-by: NRichard Weinberger <richard@nod.at>
Showing
想要评论请 注册 或 登录