mirror of
https://github.com/joel16/android_kernel_sony_msm8994.git
synced 2024-11-30 07:31:23 +00:00
d776655a24
Update the data types to handle 64 bit address space and communicate 64 bit addresses to remote processor. Provide compat ioctl call to allow for 32 bit user space to call into the driver. Change-Id: I954f07382bbc9998aed574a7bf74fab9299f0b45 Acked-by: Sathish Ambley <sambley@qti.qualcomm.com> Signed-off-by: Mitchel Humpherys <mitchelh@codeaurora.org>
27 lines
806 B
C
27 lines
806 B
C
/*
|
|
* Copyright (c) 2014 The Linux Foundation. All rights reserved.
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 and
|
|
* only version 2 as published by the Free Software Foundation.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
*/
|
|
#ifndef ADSPRPC_COMPAT_H
|
|
#define ADSPRPC_COMPAT_H
|
|
|
|
#ifdef CONFIG_COMPAT
|
|
|
|
long compat_fastrpc_device_ioctl(struct file *filp, unsigned int cmd,
|
|
unsigned long arg);
|
|
#else
|
|
|
|
#define compat_fastrpc_device_ioctl NULL
|
|
|
|
#endif /* CONFIG_COMPAT */
|
|
#endif /* ADSPRPC_COMPAT_H */
|