Re: [PATCH] powerpc: Pass the right cpu_spec to ->setup_cpu() on 64-bit

2011-01-21 Thread Andreas Schwab
You may also want to remove the misleading sentence about PTRRELOC in the preceding comment, since both s and t were already passed through it anyway. Andreas. -- Andreas Schwab, sch...@redhat.com GPG Key fingerprint = D4E8 DBE3 3813 BB5D FA84 5EC7 45C6 250E 6F00 984E "And now for something com

[PATCH] powerpc: Pass the right cpu_spec to ->setup_cpu() on 64-bit

2011-01-20 Thread Benjamin Herrenschmidt
When calling setup_cpu() on 64-bit, we pass a pointer to the cputable entry we have found. This used to be fine when cur_cpu_spec was a pointer to that entry, but nowadays, we copy the entry into a separate variable, and we do so before we call the setup_cpu() callback. That means that any attempt