From 687258f7c89107154ed8d7967e0ad47e0f6f679f Mon Sep 17 00:00:00 2001 From: John Stultz Date: Fri, 13 Dec 2013 14:24:58 -0800 Subject: [PATCH] ion: Fix compat support to use proper compat ioctl numbers The compat support added to ion didn't provide compat ioctl numbers (who's value depends on the compat structure size). So 32bit applications would get an error when trying to make ioctl calls. This patch adds the needed COMPAT_ macros and uses them in the compat_ion_ioctl, translating them to their non-compat cmd when calling the normal ioctl call. Signed-off-by: John Stultz Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed