[PATCH 2/4] Simplify catalog_read()

2014-09-17 Thread Sukadev Bhattiprolu
catalog_read() implements the read interface for the sysfs file /sys/bus/event_source/devices/hv_24x7/interface/catalog It essentially takes a buffer, an offset and count as parameters to the read() call. It makes a hypervisor call to read a specific page from the catalog and copy the

[PATCH 2/4] Simplify catalog_read()

2014-09-17 Thread Sukadev Bhattiprolu
catalog_read() implements the read interface for the sysfs file /sys/bus/event_source/devices/hv_24x7/interface/catalog It essentially takes a buffer, an offset and count as parameters to the read() call. It makes a hypervisor call to read a specific page from the catalog and copy the