Hello, I wrote:
Since we already moved to GENERIC_TIME, we should implement alternatives of old do_gettimeoffset routines to get sub-jiffies resolution from gettimeofday(). This patch includes:
* mips_hpt_mask variable to specify bitmask of hpt value.
There's actually no need to introduce more variables. Just make clocksource declaration public and override default mask if necessary. Also, I don't see much sense in further existence of mips_hpt_read() -- it only causes each clocksource read go thru a double indirection which is really ugly. The same approach shouyld be used here.
This way, the other structure fields (like .name) could also be overriden if needed...
WBR, Sergei