Re: problem with prefetch in user space

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tim Lai wrote:
> Thanks. 
> I did some search and find no answer. How do I define %0 as a register input and
> assign the value of "addr" to it?

Something like:

        __asm__ __volatile__(
		".set push\n"
		".set mips4\n"
		"pref " PREF_OP ", 0(%0)\n"
		".set pop\n"
		: "=r" (addr));

For more information: "info gcc" and the kernel sources.


Thiemo


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux