Re: [PATCH 1/2] /proc/stat: Extract irqs counting code into show_stat_irqs()

2019-01-07 Thread Kees Cook
On Mon, Jan 7, 2019 at 7:13 AM Waiman Long wrote: > > The code that generates the "intr" line of /proc/stat is now moved > from show_stat() into a new function - show_stat_irqs(). There is no > functional change. > > Signed-off-by: Waiman Long Reviewed-by: Kees Cook -Kees > --- > fs/proc/sta

[PATCH 1/2] /proc/stat: Extract irqs counting code into show_stat_irqs()

2019-01-07 Thread Waiman Long
The code that generates the "intr" line of /proc/stat is now moved from show_stat() into a new function - show_stat_irqs(). There is no functional change. Signed-off-by: Waiman Long --- fs/proc/stat.c | 39 +-- 1 file changed, 29 insertions(+), 10 deletions(-)