mirror of
git://git.yoctoproject.org/linux-yocto.git
synced 2026-01-27 12:47:24 +01:00
hrtimers are initialized with hrtimer_init() and a subsequent store to the callback pointer. This turned out to be suboptimal for the upcoming Rust integration and is obviously a silly implementation to begin with. This cleanup replaces the hrtimer_init(T); T->function = cb; sequence with hrtimer_setup(T, cb); The conversion was done with Coccinelle and a few manual fixups. Once the conversion has completely landed in mainline, hrtimer_init() will be removed and the hrtimer::function becomes a private member. -----BEGIN PGP SIGNATURE----- iQJHBAABCgAxFiEEQp8+kY+LLUocC4bMphj1TA10mKEFAmff5jQTHHRnbHhAbGlu dXRyb25peC5kZQAKCRCmGPVMDXSYoVvRD/wKtuwmiA66NJFgXC0qVq82A6fO3bY8 GBdbfysDJIbqGu5PTcULTbJ8qkqv3jeLUv6CcXvS4sZ7y/uJQl2lzf8yrD/0bbwc rLI6sHiPSZmK93kNVN4X5H7kvt7cE/DYC9nnEOgK3BY5FgKc4n9887d4aVBhL8Lv ODwVXvZ+xi351YCj7qRyPU24zt/p4tkkT1o2k4a0HBluqLI0D+V20fke9IERUL8r d1uWKlcn0TqYDesE8HXKIhbst3gx52rMJrXBJDHwFmG6v8Pj1fkTXCVpPo8QcBz8 OTVkpomN9f/Tx4+GZwhZOF86LhLL3OhxD6pT7JhFCXdmSGv+Ez8uyk1YZysM/XpV Juy/1yAcBpDIDkmhMFGdAAn48Nn9Fotty0r4je60zSEp1d/4QMXcFme29qr2JTUE iWnQ/HD6DxUjVHqy7CYvvo26Xegg1C7qgyOVt4PYZwAM1VKF5P3kzYTb4SAdxtop Tpji1sfW9QV08jqMNo6XntD32DSP9S2HqjO9LwBw700jnx2jjJ35fcJs6iodMOUn gckIZLMn3L0OoglPdyA5O7SNTbKE7aFiRKdnT/cJtR3Fa39Qu27CwC5gfiyuie9I Q+LG8GLuYSBHXAR+PBK4GWlzJ7Dn8k3eqmbnLeKpRMsU6ZzcttgA64xhaviN2wN0 iJbvLJeisXr3GA== =bYAX -----END PGP SIGNATURE----- Merge tag 'timers-cleanups-2025-03-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip Pull timer cleanups from Thomas Gleixner: "A treewide hrtimer timer cleanup hrtimers are initialized with hrtimer_init() and a subsequent store to the callback pointer. This turned out to be suboptimal for the upcoming Rust integration and is obviously a silly implementation to begin with. This cleanup replaces the hrtimer_init(T); T->function = cb; sequence with hrtimer_setup(T, cb); The conversion was done with Coccinelle and a few manual fixups. Once the conversion has completely landed in mainline, hrtimer_init() will be removed and the hrtimer::function becomes a private member" * tag 'timers-cleanups-2025-03-23' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip: (100 commits) wifi: rt2x00: Switch to use hrtimer_update_function() io_uring: Use helper function hrtimer_update_function() serial: xilinx_uartps: Use helper function hrtimer_update_function() ASoC: fsl: imx-pcm-fiq: Switch to use hrtimer_setup() RDMA: Switch to use hrtimer_setup() virtio: mem: Switch to use hrtimer_setup() drm/vmwgfx: Switch to use hrtimer_setup() drm/xe/oa: Switch to use hrtimer_setup() drm/vkms: Switch to use hrtimer_setup() drm/msm: Switch to use hrtimer_setup() drm/i915/request: Switch to use hrtimer_setup() drm/i915/uncore: Switch to use hrtimer_setup() drm/i915/pmu: Switch to use hrtimer_setup() drm/i915/perf: Switch to use hrtimer_setup() drm/i915/gvt: Switch to use hrtimer_setup() drm/i915/huc: Switch to use hrtimer_setup() drm/amdgpu: Switch to use hrtimer_setup() stm class: heartbeat: Switch to use hrtimer_setup() i2c: Switch to use hrtimer_setup() iio: Switch to use hrtimer_setup() ... |
||
|---|---|---|
| .. | ||
| ptrace | ||
| syscalls | ||
| trace | ||
| vdso | ||
| .gitignore | ||
| 85xx_entry_mapping.S | ||
| align.c | ||
| asm-offsets.c | ||
| audit_32.h | ||
| audit.c | ||
| btext.c | ||
| cacheinfo.c | ||
| cacheinfo.h | ||
| compat_audit.c | ||
| cpu_setup_6xx.S | ||
| cpu_setup_44x.S | ||
| cpu_setup_e500.S | ||
| cpu_setup_pa6t.S | ||
| cpu_setup_power.c | ||
| cpu_setup_ppc970.S | ||
| cpu_specs_8xx.h | ||
| cpu_specs_44x.h | ||
| cpu_specs_47x.h | ||
| cpu_specs_85xx.h | ||
| cpu_specs_book3s_32.h | ||
| cpu_specs_book3s_64.h | ||
| cpu_specs_e500mc.h | ||
| cpu_specs.h | ||
| cputable.c | ||
| crash_dump.c | ||
| dawr.c | ||
| dbell.c | ||
| dexcr.c | ||
| dma-iommu.c | ||
| dma-mask.c | ||
| dma-swiotlb.c | ||
| dt_cpu_ftrs.c | ||
| early_32.c | ||
| eeh_cache.c | ||
| eeh_driver.c | ||
| eeh_event.c | ||
| eeh_pe.c | ||
| eeh_sysfs.c | ||
| eeh.c | ||
| entry_32.S | ||
| epapr_hcalls.S | ||
| epapr_paravirt.c | ||
| exceptions-64e.S | ||
| exceptions-64s.S | ||
| fadump.c | ||
| firmware.c | ||
| fpu.S | ||
| head_8xx.S | ||
| head_32.h | ||
| head_44x.S | ||
| head_64.S | ||
| head_85xx.S | ||
| head_book3s_32.S | ||
| head_booke.h | ||
| hw_breakpoint_constraints.c | ||
| hw_breakpoint.c | ||
| idle_6xx.S | ||
| idle_64e.S | ||
| idle_85xx.S | ||
| idle_book3s.S | ||
| idle.c | ||
| ima_arch.c | ||
| interrupt_64.S | ||
| interrupt.c | ||
| io-workarounds.c | ||
| io.c | ||
| iomap.c | ||
| iommu.c | ||
| irq_64.c | ||
| irq.c | ||
| isa-bridge.c | ||
| jump_label.c | ||
| kdebugfs.c | ||
| kgdb.c | ||
| kprobes-ftrace.c | ||
| kprobes.c | ||
| kvm_emul.S | ||
| kvm.c | ||
| l2cr_6xx.S | ||
| legacy_serial.c | ||
| Makefile | ||
| mce_power.c | ||
| mce.c | ||
| misc_32.S | ||
| misc_64.S | ||
| misc.S | ||
| module_32.c | ||
| module_64.c | ||
| module.c | ||
| msi.c | ||
| note.S | ||
| nvram_64.c | ||
| of_platform.c | ||
| optprobes_head.S | ||
| optprobes.c | ||
| paca.c | ||
| pci_32.c | ||
| pci_64.c | ||
| pci_dn.c | ||
| pci_of_scan.c | ||
| pci-common.c | ||
| pci-hotplug.c | ||
| pmc.c | ||
| ppc_save_regs.S | ||
| proc_powerpc.c | ||
| process.c | ||
| prom_entry_64.S | ||
| prom_init_check.sh | ||
| prom_init.c | ||
| prom_parse.c | ||
| prom.c | ||
| reloc_32.S | ||
| reloc_64.S | ||
| rethook.c | ||
| rtas_entry.S | ||
| rtas_flash.c | ||
| rtas_pci.c | ||
| rtas-proc.c | ||
| rtas-rtc.c | ||
| rtas.c | ||
| rtasd.c | ||
| secure_boot.c | ||
| security.c | ||
| secvar-ops.c | ||
| secvar-sysfs.c | ||
| setup_32.c | ||
| setup_64.c | ||
| setup-common.c | ||
| setup.h | ||
| signal_32.c | ||
| signal_64.c | ||
| signal.c | ||
| signal.h | ||
| smp-tbsync.c | ||
| smp.c | ||
| stacktrace.c | ||
| static_call.c | ||
| suspend.c | ||
| switch.S | ||
| swsusp_32.S | ||
| swsusp_64.c | ||
| swsusp_85xx.S | ||
| swsusp_asm64.S | ||
| swsusp.c | ||
| sys_ppc32.c | ||
| syscall.c | ||
| syscalls.c | ||
| sysfs.c | ||
| systbl.c | ||
| tau_6xx.c | ||
| time.c | ||
| tm.S | ||
| traps.c | ||
| ucall.S | ||
| udbg_16550.c | ||
| udbg.c | ||
| uprobes.c | ||
| vdso.c | ||
| vdso32_wrapper.S | ||
| vdso64_wrapper.S | ||
| vecemu.c | ||
| vector.S | ||
| vmlinux.lds.S | ||
| watchdog.c | ||