ia64: old_rr4 added under CONFIG_HUGETLB_PAGE
authorSouptick Joarder (HPE) <jrdr.linux@gmail.com>
Sun, 26 Jun 2022 02:21:14 +0000 (07:51 +0530)
committerakpm <akpm@linux-foundation.org>
Mon, 18 Jul 2022 00:31:43 +0000 (17:31 -0700)
commit1298f83b546921506afa4050a833f21433ed4b88
tree29a474146b3538e51758586363f996a5bfd98e17
parent3adb2d87238dea5e05bab747238bb47306b9cb56
ia64: old_rr4 added under CONFIG_HUGETLB_PAGE

kernel test robot throws below warning ->

arch/ia64/include/asm/mmu_context.h: In function 'reload_context':
   arch/ia64/include/asm/mmu_context.h:127:48: warning: variable
'old_rr4' set but not used [-Wunused-but-set-variable]
     127 |         unsigned long rr0, rr1, rr2, rr3, rr4, old_rr4;

Add it under CONFIG_HUGETLB_PAGE

Link: https://lkml.kernel.org/r/20220626022114.4020-1-jrdr.linux@gmail.com
Signed-off-by: Souptick Joarder (HPE) <jrdr.linux@gmail.com>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
arch/ia64/include/asm/mmu_context.h