Files
linux/arch/powerpc/include/asm
Christophe Leroy 61bcc752d1 powerpc/64s: Rewrite __real_pte() and __rpte_to_hidx() as static inline
Rewrite __real_pte() and __rpte_to_hidx() as static inline in order to
avoid following warnings/errors when building with 4k page size:

	  CC      arch/powerpc/mm/book3s64/hash_tlb.o
	arch/powerpc/mm/book3s64/hash_tlb.c: In function 'hpte_need_flush':
	arch/powerpc/mm/book3s64/hash_tlb.c:49:16: error: variable 'offset' set but not used [-Werror=unused-but-set-variable]
	   49 |         int i, offset;
	      |                ^~~~~~

	  CC      arch/powerpc/mm/book3s64/hash_native.o
	arch/powerpc/mm/book3s64/hash_native.c: In function 'native_flush_hash_range':
	arch/powerpc/mm/book3s64/hash_native.c:782:29: error: variable 'index' set but not used [-Werror=unused-but-set-variable]
	  782 |         unsigned long hash, index, hidx, shift, slot;
	      |                             ^~~~~

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202501081741.AYFwybsq-lkp@intel.com/
Fixes: ff31e10546 ("powerpc/mm/hash64: Store the slot information at the right offset for hugetlb")
Signed-off-by: Christophe Leroy <christophe.leroy@csgroup.eu>
Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/e0d340a5b7bd478ecbf245d826e6ab2778b74e06.1736706263.git.christophe.leroy@csgroup.eu
2025-02-10 10:01:22 +05:30
..
2023-10-20 23:18:07 +11:00
2023-10-20 23:18:07 +11:00
2023-12-08 12:02:37 +01:00
2023-12-08 12:02:37 +01:00
2021-03-24 14:09:29 +11:00
2022-06-29 19:37:07 +10:00
2024-06-28 22:28:48 +10:00
2024-06-28 22:28:48 +10:00
2024-02-15 00:14:06 +11:00
2024-05-08 00:21:30 +10:00
2023-12-08 12:02:37 +01:00
2024-10-16 00:13:04 +02:00
2024-09-17 01:06:59 -07:00
2021-02-09 01:09:44 +11:00
2024-05-08 00:21:30 +10:00
2022-05-08 22:15:40 +10:00
2022-12-07 20:14:49 +11:00
2024-06-28 22:28:48 +10:00
2018-05-25 12:04:43 +10:00
2023-08-24 22:33:16 +10:00
2022-09-28 19:22:09 +10:00
2018-07-30 22:48:21 +10:00
2024-10-29 23:01:52 +11:00
2024-05-08 00:21:30 +10:00
2022-07-27 21:36:05 +10:00
2022-01-30 21:17:00 -05:00