Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57830
b: refs/heads/master
c: f4d2781
h: refs/heads/master
v: v3
  • Loading branch information
David Woodhouse authored and Linus Torvalds committed Jun 16, 2007
1 parent 5258cfc commit 1a68dd9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: de7f928ca460005086a8296be07c217aac4b625d
refs/heads/master: f4d2781731e846c2f01dd85e71883d120860c6dd
5 changes: 5 additions & 0 deletions trunk/drivers/char/drm/radeon_ioc32.c
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ static int compat_radeon_irq_emit(struct file *file, unsigned int cmd,
DRM_IOCTL_RADEON_IRQ_EMIT, (unsigned long)request);
}

/* The two 64-bit arches where alignof(u64)==4 in 32-bit code */
#if defined (CONFIG_X86_64) || defined(CONFIG_IA64)
typedef struct drm_radeon_setparam32 {
int param;
u64 value;
Expand All @@ -373,6 +375,9 @@ static int compat_radeon_cp_setparam(struct file *file, unsigned int cmd,
return drm_ioctl(file->f_dentry->d_inode, file,
DRM_IOCTL_RADEON_SETPARAM, (unsigned long) request);
}
#else
#define compat_radeon_cp_setparam NULL
#endif /* X86_64 || IA64 */

drm_ioctl_compat_t *radeon_compat_ioctls[] = {
[DRM_RADEON_CP_INIT] = compat_radeon_cp_init,
Expand Down

0 comments on commit 1a68dd9

Please sign in to comment.