Skip to content
Commit 5cb40310 authored by Patryk Duda's avatar Patryk Duda Committed by Anas Nashif
Browse files

drivers: entropy: Make entropy_stm32.c clang compatible



Clang doesn't support push_options, pop_options and optimize pragmas.
Since "Ofast" is only applied to rng_pool_get() we can use function
attributes instead of pragmas.

Please note that clang doesn't support applying optimizations to
functions.

This change was verified by comparing assembler output.

Signed-off-by: default avatarPatryk Duda <pdk@semihalf.com>
parent c0e1c5e0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment