Home
last modified time | relevance | path

Searched refs:fn_addr (Results 1 – 1 of 1) sorted by relevance

/linux-6.1.9/arch/arm/kernel/
Dsetup.c423 uintptr_t fn_addr; in patch_aeabi_idiv() local
432 fn_addr = ((uintptr_t)&__aeabi_uidiv) & ~1; in patch_aeabi_idiv()
433 asm ("" : "+g" (fn_addr)); in patch_aeabi_idiv()
434 ((u32 *)fn_addr)[0] = udiv_instruction(); in patch_aeabi_idiv()
435 ((u32 *)fn_addr)[1] = bx_lr_instruction(); in patch_aeabi_idiv()
436 flush_icache_range(fn_addr, fn_addr + 8); in patch_aeabi_idiv()
438 fn_addr = ((uintptr_t)&__aeabi_idiv) & ~1; in patch_aeabi_idiv()
439 asm ("" : "+g" (fn_addr)); in patch_aeabi_idiv()
440 ((u32 *)fn_addr)[0] = sdiv_instruction(); in patch_aeabi_idiv()
441 ((u32 *)fn_addr)[1] = bx_lr_instruction(); in patch_aeabi_idiv()
[all …]