i want to run kernel 3 on centos 6. I found out, that it cant get installed over yum and i would need to compile it by my own.

My question: Could i use the centos 7 repo to install kernel 3.x from there? I cant find out the correct repo file for centos7, i would need to hardcode the variables but i dont know the value:

> 
> mirrorlist=<http://mirrorlist.centos.org/?release=>$releasever&arch=$basearch&repo=os
> 
> 
> 

Would i can install Kernel 3 from CentOS 7 repo?