As in not supported. If you want to try, sure but no one seems to support such changes.
With only 2GB RAM, you would get far more of an upgrade by maxing that out. Pop some SSD in and it will seem like a new laptop.
This is the Specs of G40 30
Intel Quad Core 2940 Processor, DVD-RW Drive, 500GB Hard Drive, Intel Graphics, 2GB DDR3 Memory, 14" LED Display, Windows 8.1 SL Software.
I hope you answer it correctly