[RAMEN9610-12171] ion: allocate zero for system heap id
authorhyesoo.yu <hyesoo.yu@samsung.com>
Thu, 13 Sep 2018 02:13:31 +0000 (11:13 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:23:16 +0000 (20:23 +0300)
commitbb55aac1c00c55ecbb7e95f74fcf71626b47e67d
treecd725746d942f5dda243f680fcc1cb9e4e0b03dd
parent0cc61e5cbd8617a009f9a93bc826728a9c7c7c34
[RAMEN9610-12171] ion: allocate zero for system heap id

Traditionally, the system heap is was always zero.
The heap id is created according to the registered order
after kernel 4.12, but the system heap is registered first
to provide compatibility with users to use the system heap.

Change-Id: I46f203a533f6c29b62ced6b49c0a5a5a98e2a914
Signed-off-by: hyesoo.yu <hyesoo.yu@samsung.com>
drivers/staging/android/ion/ion_fdt_exynos.c
drivers/staging/android/ion/ion_system_heap.c