diff options
author | Dave Airlie <airlied@linux.ie> | 2005-06-28 13:02:20 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2005-06-28 13:02:20 +0000 |
commit | 6397722f1990856a9ee268cadd65d78b44b24835 (patch) | |
tree | 684c6ad6a83fd589b2f6b03dfe89b224f7a67af8 /linux-core/drmP.h | |
parent | 827806f697855c65a8c9821ad410467c48e25d35 (diff) |
add compat code from Paul Mackerras
Diffstat (limited to 'linux-core/drmP.h')
-rw-r--r-- | linux-core/drmP.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux-core/drmP.h b/linux-core/drmP.h index ff2af8cf..9c0e5b84 100644 --- a/linux-core/drmP.h +++ b/linux-core/drmP.h @@ -274,6 +274,9 @@ do { \ typedef int drm_ioctl_t(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); +typedef int drm_ioctl_compat_t(struct file *filp, unsigned int cmd, + unsigned long arg); + typedef struct drm_ioctl_desc { drm_ioctl_t *func; int auth_needed; @@ -758,6 +761,9 @@ extern void __exit drm_exit(struct drm_driver *driver); extern void __exit drm_cleanup_pci(struct pci_dev *pdev); extern int drm_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg); +extern long drm_compat_ioctl(struct file *filp, + unsigned int cmd, unsigned long arg); + extern int drm_takedown(drm_device_t * dev); /* Device support (drm_fops.h) */ |