fix compile error with CM-10.2

Change-Id: I1d6ce92f79d1d080efba553f1d4e7618c6961ef0
display-legacy: fix gralloc module

Change-Id: I0b596a3193114eedc806905749854f1b60aa7a77

Conflicts:
	libgralloc/gralloc.cpp
fix stupid build error

Change-Id: I7941414dd953f795e7daf300faee0df5cb4b7b35
add missing kernel includes
Merge pull request #1 from ProBean/cm-10.2

add missing kernel includes
cleanup
update gralloc
copybit: Fix type conversion error for GCC 4.7

GCC 4.7 has stricter type conversion rules

Change-Id: I699cfe1ceafb5728fb8e6f34f7b1996d3c812e7e
pmemalloc: fix GCC 4.7 errors

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: Id5d7bc86780bd716b97257400e15793c29ff4dfb
some untested changes
Merge pull request #2 from Slim-glacier/cm-10.2

cleanup
Merge remote-tracking branch 'new/cm-10.2' into mi

Conflicts:
	libgralloc/gralloc.cpp