diff options
author | Dave Airlie <airlied@linux.ie> | 2004-08-29 12:17:26 +0000 |
---|---|---|
committer | Dave Airlie <airlied@linux.ie> | 2004-08-29 12:17:26 +0000 |
commit | 55c6e72306efd960eb28870c8f7520360275d444 (patch) | |
tree | 1d28e943af078488a5b840b667b8bdc73ad53432 /linux-core/drm_context.c | |
parent | 1430163b4bbf7b00367ea1066c1c5fe85dbeefed (diff) |
remove hacky context thing that was gamma only
Diffstat (limited to 'linux-core/drm_context.c')
-rw-r--r-- | linux-core/drm_context.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/linux-core/drm_context.c b/linux-core/drm_context.c index 7ab376f1..c9ccaa01 100644 --- a/linux-core/drm_context.c +++ b/linux-core/drm_context.c @@ -42,7 +42,6 @@ #include "drmP.h" -#ifndef DRIVER_ALTERNATE_CONTEXT /******************************************************************/ /** \name Context bitmap support */ /*@{*/ @@ -574,18 +573,5 @@ int DRM(rmctx)( struct inode *inode, struct file *filp, return 0; } -#endif - -extern drm_ioctl_desc_t DRM(ioctls)[]; -void DRM(context_add_ioctls)(void) -{ - DRM(ioctls)[DRM_IOCTL_NR(DRM_IOCTL_SET_SAREA_CTX)].func = DRM(setsareactx); - DRM(ioctls)[DRM_IOCTL_NR(DRM_IOCTL_SET_SAREA_CTX)].auth_needed = 1; - DRM(ioctls)[DRM_IOCTL_NR(DRM_IOCTL_SET_SAREA_CTX)].root_only = 1; - - DRM(ioctls)[DRM_IOCTL_NR(DRM_IOCTL_GET_SAREA_CTX)].func = DRM(getsareactx); - DRM(ioctls)[DRM_IOCTL_NR(DRM_IOCTL_GET_SAREA_CTX)].auth_needed = 1; - DRM(ioctls)[DRM_IOCTL_NR(DRM_IOCTL_GET_SAREA_CTX)].root_only = 0; -} /*@}*/ |