Closed allenjhan closed 6 years ago
@allenjhan Good work. But please
read_or_acccess_once
to read_once
but I still wonder if it's better to use READ_ONCE from 4.15 or older version like 3.19 that I see the macro exists. As it's just a int, ACCESS_ONCE is enough though.
Okay, I made the requested changes and tested on kernel versions 4.10 and 4.15. Let me know if I missed something. Thanks
@allenjhan it's much better now but please remove v2.2.9 from the commit log.
Done. Let me know if you need me to change anything else
I just removed the "d" from the end of "change" in the commit log.
I've never contributed to a Github project before, so I am sorry if I am missing something.
I updated the version to 2.2.9, and changed all use of ACCESS_ONCE() to the macro read_or_access_once(). I tested the changes by running Postmark on the mapped device in Linux v4.15.3 and v4.10.0.