fix cpu freq for 3.1 kernel