OSDN Git Service

csky: add missing brackets in a macro for tlb.h
authorJason Gunthorpe <jgg@mellanox.com>
Mon, 2 Sep 2019 05:47:05 +0000 (02:47 -0300)
committerJason Gunthorpe <jgg@mellanox.com>
Sat, 7 Sep 2019 07:28:05 +0000 (04:28 -0300)
commit6bdf3b0aeead8edf91306dd60dcf676c257aad30
tree85928bb7534b18779ca4dcf21199fcdb92cbcebf
parentb4bc7817b2bcc2432db6de99188c85ef16314c93
csky: add missing brackets in a macro for tlb.h

As an earlier patch made the macro argument more complicated, compilation
now fails with:

 In file included from mm/madvise.c:30:
 mm/madvise.c: In function 'madvise_free_single_vma':
 arch/csky/include/asm/tlb.h:11:11: error:
     invalid type argument of '->' (have 'struct mmu_gather')

Link: https://lore.kernel.org/r/20190901193601.GB5208@mellanox.com
Fixes: 923bfc561e75 ("pagewalk: separate function pointers from iterator data")
Reported-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
arch/csky/include/asm/tlb.h