summaryrefslogtreecommitdiff
path: root/arch/arm64/include/asm/unistd.h
diff options
context:
space:
mode:
authorAndrew Pinski <apinski@cavium.com>2014-09-03 14:18:57 -0700
committerAndrey Konovalov <andrey.konovalov@linaro.org>2015-03-06 18:49:54 +0300
commit23c7a545f211bb41fe8572e467ce1155c1d1d5e6 (patch)
tree00427fc7e5102be964b4bc977d9164153d03e0fd /arch/arm64/include/asm/unistd.h
parent310a60e211efb981d6c074b41d541f1b4f7a07b7 (diff)
ARM64: Change some CONFIG_COMPAT over to use CONFIG_AARCH32_EL0 instead
This patch changes CONFIG_COMPAT checks inside the arm64 which are AARCH32 specific Signed-off-by: Andrew Pinski <apinski@cavium.com>
Diffstat (limited to 'arch/arm64/include/asm/unistd.h')
-rw-r--r--arch/arm64/include/asm/unistd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm64/include/asm/unistd.h b/arch/arm64/include/asm/unistd.h
index 3bc498c250dc..bed97c3e2946 100644
--- a/arch/arm64/include/asm/unistd.h
+++ b/arch/arm64/include/asm/unistd.h
@@ -13,7 +13,7 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-#ifdef CONFIG_COMPAT
+#ifdef CONFIG_AARCH32_EL0
#define __ARCH_WANT_COMPAT_SYS_GETDENTS64
#define __ARCH_WANT_COMPAT_STAT64
#define __ARCH_WANT_SYS_GETHOSTNAME