Add prima to kernel rather than making it a module

Change-Id: I09bb3dbe844bbab15eff4046af0c45c2d9fa71cb