Skip to content

Conversation

@superm1
Copy link

@superm1 superm1 commented Nov 18, 2025

@superm1 superm1 force-pushed the superm1/6.16-timers branch 2 times, most recently from 5c47a1a to e3c7bf3 Compare November 18, 2025 22:54
@superm1 superm1 force-pushed the superm1/6.16-timers branch from e3c7bf3 to 9206e82 Compare November 18, 2025 22:55
@superm1
Copy link
Author

superm1 commented Nov 18, 2025

CC @maxzhen

@superm1
Copy link
Author

superm1 commented Nov 19, 2025

Matching change in XRT: Xilinx/XRT#9411


static inline void mbox_timer_stop(struct qdma_mbox *mbox)
{
#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 16, 0)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The removal of del_timer() already happened in v6.15.

torvalds/linux@8fa7292

#if LINUX_VERSION_CODE < KERNEL_VERSION(6, 16, 0)
del_timer(&mbox->timer);
#else
timer_delete_sync(&mbox->timer);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The default replacement for del_timer() is timer_delete() (not the _sync variant).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants