From: bernie Date: Fri, 29 Aug 2008 20:36:39 +0000 (+0000) Subject: preempt_forbid_cnt: make it of type cpuatomic_t X-Git-Tag: 2.0.0~174 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=1200cce6f786accd1e56bfe1982b3c58d297aee7;hp=1200cce6f786accd1e56bfe1982b3c58d297aee7;p=bertos.git preempt_forbid_cnt: make it of type cpuatomic_t This takes care of archs such as the AVR, where int is bigger than the word size, and updating preempt_forbid_cnt might actually result in two independent writes. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@1760 38d2e660-2303-0410-9eaa-f027e97ec537 ---