Processor upgrade for laptop

I have my brothers desktop pc with an i5 3330 processor. i am planning to remove it from the desktop into my hp g42 laptop which has an i5 460m processor. i would like to know if it is compatible. thanks.