/* Activate or deactivate the channel monitor. When area is NULL, the monitor is deactivated. The channel monitor needs to be active in order to measure subchannels, which also need to be enabled.  */
static void cmf_activate(void *area, unsigned int onoff)
/* Activate or deactivate the channel monitor. When area is NULL, the monitor is deactivated. The channel monitor needs to be active in order to measure subchannels, which also need to be enabled.  */
static void cmf_activate(void *area, unsigned int onoff)
{
	register void * __gpr2 asm("2");
	register long __gpr1 asm("1");
	__gpr2 = area;
	__gpr1 = onoff ? 2 : 0;
	asm("schm" : : "d" (__gpr2), "d" (__gpr1) );
}