Can any one please tell me how should i disable branch predictor in the ubuntu kernel and recompile that kernel after disabling the branch predictor

Thanks,
Aravind