
10 Feb
2007
10 Feb
'07
2:02 a.m.
In message 1defaf580702091159s2e2fc9e7wf962d4fff0ec985c@mail.gmail.com you wrote:
Because SYNC is already defined in include/ppc_asm.tmpl for some ppc based CPUs to use, I use DO_SYNC instead of SYNC for this patch.
AFAICT that's a general definition which is not specific to "some ppc based CPUs" only. Rather than redefining it why not just use this definition? It seems to match our purposes.
Except that it's not written in C ;-)
You cannot write this in C anyway. C has no concept of such things. You will always end up withpulling some "asm" tricks.
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, HRB 165235 Munich, CEO: Wolfgang Denk
Office: Kirchenstr. 5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
... not meant for the weak-at-heart: /^(?=.*one)(?=.*two)/
If you can follow that, you can use it.
- Randal L. Schwartz in ukpw67rhl3.fsf@julie.teleport.com