I am compiling this function using arm-linux-gnueabi-gcc, but it is giving me an error
expected string literal before ‘)’ token
void flush_icache(void)
{
u32 tmp = 0;
asm volatile(" mcr p15, 0, %0, c7, c5, 0\n\t": : "r"(tmp) : );
}
which I am not able to remove.
If anyone has any idea then kindly resolve
As I expected, there was a problem in using crosstool-chain. So previously I was using an older one provided by codesourcery(2008), then I moved to 2010 toolchain.
That might be an issue with changing architecture of ARM.