Subject: Re: linux-next: Tree for Jun 7 (arch/x86/mm/tlb.c: events)

From: Stephen Rothwell <[email-masked]>
Date: Thu, 22 Jun 2017 10:35:27 +1000

Hi Randy,

On Wed, 7 Jun 2017 09:26:26 -0700 Randy Dunlap <[email-masked]> wrote:
>
> on i386:
> 
>   CC      arch/x86/mm/tlb.o
> In file included from ../include/linux/mm.h:1032:0,
>                  from ../arch/x86/mm/tlb.c:3:
> ../arch/x86/mm/tlb.c: In function 'flush_tlb_func_remote':
> ../arch/x86/mm/tlb.c:251:21: error: 'NR_TLB_REMOTE_FLUSH_RECEIVED' undeclared (first use in this function)
>   count_vm_tlb_event(NR_TLB_REMOTE_FLUSH_RECEIVED);
>                      ^
> ../include/linux/vmstat.h:90:49: note: in definition of macro 'count_vm_tlb_event'
>  #define count_vm_tlb_event(x)    count_vm_event(x)
>                                                  ^
> ../arch/x86/mm/tlb.c:251:21: note: each undeclared identifier is reported only once for each function it appears in
>   count_vm_tlb_event(NR_TLB_REMOTE_FLUSH_RECEIVED);
>                      ^
> ../include/linux/vmstat.h:90:49: note: in definition of macro 'count_vm_tlb_event'
>  #define count_vm_tlb_event(x)    count_vm_event(x)
>                                                  ^
> ../arch/x86/mm/tlb.c: In function 'native_flush_tlb_others':
> ../arch/x86/mm/tlb.c:258:21: error: 'NR_TLB_REMOTE_FLUSH' undeclared (first use in this function)
>   count_vm_tlb_event(NR_TLB_REMOTE_FLUSH);
>                      ^
> ../include/linux/vmstat.h:90:49: note: in definition of macro 'count_vm_tlb_event'
>  #define count_vm_tlb_event(x)    count_vm_event(x)
>                                                  ^
> ../arch/x86/mm/tlb.c: In function 'do_flush_tlb_all':
> ../arch/x86/mm/tlb.c:326:21: error: 'NR_TLB_REMOTE_FLUSH_RECEIVED' undeclared (first use in this function)
>   count_vm_tlb_event(NR_TLB_REMOTE_FLUSH_RECEIVED);
>                      ^
> ../include/linux/vmstat.h:90:49: note: in definition of macro 'count_vm_tlb_event'
>  #define count_vm_tlb_event(x)    count_vm_event(x)
>                                                  ^
> ../arch/x86/mm/tlb.c: In function 'flush_tlb_all':
> ../arch/x86/mm/tlb.c:334:21: error: 'NR_TLB_REMOTE_FLUSH' undeclared (first use in this function)
>   count_vm_tlb_event(NR_TLB_REMOTE_FLUSH);
>                      ^
> ../include/linux/vmstat.h:90:49: note: in definition of macro 'count_vm_tlb_event'
>  #define count_vm_tlb_event(x)    count_vm_event(x)

Do you know if this has been fixed?

-- 
Cheers,
Stephen Rothwell