[PATCH 2/9] powerpc: Add macros to access floating point registers in thread_struct.

Segher Boessenkool segher at kernel.crashing.org
Wed Jun 25 02:33:52 EST 2008


>> 	return user_regset_copyout(&pos, &count, &kbuf, &ubuf,
>> -				   &target->thread.fpr, 0, -1);
>> +				   target->thread.fpr, 0, -1);
>
> is there a reason we can drop the '&'?

Yes, .fpr is an array.  C is _such_ a fun language, heh.


Segher




More information about the Linuxppc-dev mailing list