Reverted some experimental changes that ended up in the substrate of the IA64. This broke libpfm3.
Reverted some experimental changes that ended up in the substrate of the IA64.
This broke libpfm3.

Eventually I want to:

1) Remove the getpid() calls in pfmwrap.h
2) Remove _papi_hwi_get_thr_context. This is slow and not necessary.
3) Remove the read() from the interrupt handler. Also slow and not nec.

But I hadn't finished the code to do this yet and it got in by accident.
Thanks to Min for catching this.

pyrovski/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,arm-hpc/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,pyrovski/papi,arm-hpc/papi