summaryrefslogtreecommitdiff
path: root/scripts/checkpatch.pl
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2022-08-17 21:37:48 +0200
committerStefan Roese <[email protected]>2022-08-23 12:38:30 +0200
commit616278bd2c563a6d12a2347ce5cfc3512f77ee42 (patch)
tree355500f0b9baa66528aa555110a63b67b56ff6b1 /scripts/checkpatch.pl
parent7875f8019c15ee557d4d7807cd1164876b47e8f3 (diff)
time: move the CONFIG_SYS_TIMER_RATE handling to the compiler
CONFIG_SYS_TIMER_RATE might be a dynamic value, i.e. a function call instead of a static value, thus it has to be evaluated at runtime. If it is a static value, the compiler should be able to optimize the unused branches out. This will be needed for kirkwoods dynamic CONFIG_SYS_TCLK setting. Cc: Pali Rohár <[email protected]> Signed-off-by: Michael Walle <[email protected]> Reviewed-by: Pali Rohár <[email protected]> Reviewed-by: Stefan Roese <[email protected]>
Diffstat (limited to 'scripts/checkpatch.pl')
0 files changed, 0 insertions, 0 deletions