summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/radeon_state.c4
-rw-r--r--shared/radeon_state.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/shared-core/radeon_state.c b/shared-core/radeon_state.c
index f0ccfd74..05184162 100644
--- a/shared-core/radeon_state.c
+++ b/shared-core/radeon_state.c
@@ -2499,8 +2499,8 @@ int radeon_cp_getparam( DRM_IOCTL_ARGS )
*/
case RADEON_PARAM_SAREA_HANDLE:
/* The lock is the first dword in the sarea. */
- value = (long)dev->lock.hw_lock;
- break;
+ value = (long)dev->lock.hw_lock;
+ break;
#endif
case RADEON_PARAM_GART_TEX_HANDLE:
value = dev_priv->gart_textures_offset;
diff --git a/shared/radeon_state.c b/shared/radeon_state.c
index f0ccfd74..05184162 100644
--- a/shared/radeon_state.c
+++ b/shared/radeon_state.c
@@ -2499,8 +2499,8 @@ int radeon_cp_getparam( DRM_IOCTL_ARGS )
*/
case RADEON_PARAM_SAREA_HANDLE:
/* The lock is the first dword in the sarea. */
- value = (long)dev->lock.hw_lock;
- break;
+ value = (long)dev->lock.hw_lock;
+ break;
#endif
case RADEON_PARAM_GART_TEX_HANDLE:
value = dev_priv->gart_textures_offset;