omap-ion: Interface to export ION handles from PVR fd

PVRSRVExportFDToIONHandles was called directly by drivers.
Exporting this interface through ion. This also helps when PVR
is built as a module as the abstraction then uses an exported
function pointer.

Since this change also changes the interface between kernel and
a module, LOCALVERSION change is required.
Kernel version = 3.0.21-00001-OMAP-Android

Change-Id: Ic8b5c7efd50db008e8837ebc08f4a9e087de9274
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
Signed-off-by: Tate Hornbeck <tate.hornbeck@ti.com>

Conflicts:
	arch/arm/configs/blaze_defconfig
gcbv: Assign Bltsville function pointers only if GC core is present

If the SoC doesn't contain a GC core, don't assign the function
pointers in the BV entry.

Change-Id: I1e1bea46199b71bce84537021c63a7ce3d7a79e2
Signed-off-by: Gustavo Diaz Prado <a0273371@ti.com>
Signed-off-by: David Sin <davidsin@ti.com>
omap-ion: Fix build issue when CONFIG_PVR_SGX is defined

This was caused by wrong path to pvr header.

Change-Id: Id32ee97ecb6ac4dc0b3662781a28b9eb38208370
Signed-off-by: Hemant Hariyani <hemanthariyani@ti.com>
OMAP4+: HSI: hsi_char: fix write poll timeout issue

hsi_char driver may fail to return (POLLOUT | POLLWRNORM) after a write() has
occured. Instead it returns 0, causing the poll() to timeout.

This is due to a race condition between hsi_char_write() and if_hsi_notify().
Write callback can occur very fast in response to hsi_write() and may cause the
poll_event flag to be first set by if_hsi_notify() but then cleared by
hsi_char_write(), remaining to 0 forever and causing poll() timeout.

Fix is to clear the flag ahead of hsi_write to avoid this.

Change-Id: Iacd18f0448c1933a16b0a54db2204cd74fc259b2
Signed-off-by: Djamil Elaidi <d-elaidi@ti.com>
Reported-by: Christian Auby <christian.auby@stericsson.com>