Add Linux support for reading/writing extended register sets.

Patch by Ashok Thirumurthi.