1f601186eb
stuff from mem.c. If PERFMON is there, it will "steal" a minor from mem.c, but mem.c doesn't need to know about this. Fixed type of cmd argument in perfmon_ioctl().