+1 for you! It works and I'm actually showing non-zero pps on my 16-core opteron system now. It's only 1-2 primespersec but it's an improvement!
# primecoind getinfo
{
"version" : "v0.1.0.0-g25659c1-beta",
"protocolversion" : 70001,
"walletversion" : 60000,
"balance" : 0.00000000,
"blocks" : 3458,
"moneysupply" : 68334.18000000,
"timeoffset" : 0,
"connections" : 8,
"proxy" : "",
"testnet" : false,
"keypoololdest" : 1373223782,
"keypoolsize" : 101,
"paytxfee" : 0.00000000,
"errors" : ""
}
# primecoind getmininginfo
{
"blocks" : 3459,
"currentblocksize" : 1000,
"currentblocktx" : 0,
"errors" : "",
"generate" : true,
"genproclimit" : -1,
"primespersec" : 1,
"pooledtx" : 0,
"testnet" : false
}