Commit 08e2a660 authored by Alexander Sverdlin's avatar Alexander Sverdlin Committed by William Breathitt Gray
Browse files

counter: interrupt-cnt: Convert atomic_t -> atomic_long_t



Convert the internal counter type to atomic_long_t, which:
- doesn't change much for existing in-tree users as they are 32-bit anyway
  (stm32/i.MX6)
- doesn't introduce performace penalty on 32-bit platforms
- provides 64-bit resolution on 64-bit platforms with virtually no
  preformance penalty

Signed-off-by: default avatarAlexander Sverdlin <alexander.sverdlin@siemens.com>
Acked-by: default avatarOleksij Rempel <o.rempel@pengutronix.de>
Link: https://lore.kernel.org/r/20250331152222.2263776-1-alexander.sverdlin@siemens.com


Signed-off-by: default avatarWilliam Breathitt Gray <wbg@kernel.org>
parent b4432656
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment