
11 Feb
2007
11 Feb
'07
11:23 a.m.
In message 45CE80A1.5050206@freescale.com you wrote:
#define sync() __asm__ __volatile__ ("sync" : : : "memory");
I like this idea, but is that semicolon supposed to be there? Shouldn't we make it an inline function instead of a macro?
No, and yes, please.
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
Felson's Law:
To steal ideas from one person is plagiarism; to steal from
many is research.