staging/ion: enable debugfs for pool 01/91501/1 accepted/tizen/3.0/mobile/20161028.150540 accepted/tizen/mobile/20161010.082950 submit/tizen/20161010.024928 submit/tizen_3.0/20161028.062323 submit/tizen_3.0/20161028.092323
authorJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 10 Oct 2016 01:31:24 +0000 (10:31 +0900)
committerJoonyoung Shim <jy0922.shim@samsung.com>
Mon, 10 Oct 2016 01:31:24 +0000 (10:31 +0900)
Define DEBUG_HEAP_SHRINKER to enable debugfs to shrink pool and read
pool size.

Change-Id: Ic3d5ef7a68eb8b3a08d4d6e98872f895aa7f7de4
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
drivers/staging/android/ion/ion.c

index 4bbc600..c06101c 100644 (file)
 #include "ion_priv.h"
 #include "compat_ion.h"
 
+#ifdef CONFIG_ION_SPRD
+#define DEBUG_HEAP_SHRINKER
+#endif
+
 /**
  * struct ion_device - the metadata of the ion device node
  * @dev:               the actual misc device