[PATCH] fix gcc4 warning in asm-ppc/time.h
Paul Mackerras
paulus at samba.org
Fri Aug 5 08:19:04 EST 2005
Andrew Morton writes:
> Do we really want to do this? The above implies that mfspr(SPRN_PVR) will
> return the same value across the entire uptime of the kernel. Is that
> true?
Yes, the PVR is the processor version register, and it would be quite
disturbing if the silicon changed underneath us. :)
> Why is this function paying with const anyway?
It seemed like a good idea at the time? :)
Paul.
More information about the Linuxppc-dev
mailing list