[Click] linux patch question

Beyers Cronje bcronje at gmail.com
Sun Jun 5 19:05:31 EDT 2005


Hi,

I'm busy creating a 2.4.31 click patch and was wondering if anyone
could tell me why some of the "asm volatile" syntext are changed from
' :: ' to ' : : '

An example:
-	asm volatile ("movw %0, %%ds" :: "r" ((u16)__KERNEL_DS));
+	asm volatile ("movw %0, %%ds" : : "r" ((u16)__KERNEL_DS));

Is this needed because of some gcc c/c++ compiler problem ?

Regards

Beyers



More information about the click mailing list