View | Details | Raw Unified | Return to bug 116430
Collapse All | Expand All

(-)firegl_public.c.orig (-1 / +1 lines)
Lines 121-127 Link Here
121
#endif
121
#endif
122
122
123
#ifdef __x86_64__
123
#ifdef __x86_64__
124
#include "asm/ioctl32.h"
124
#include "linux/ioctl32.h"
125
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,2)
125
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,2)
126
#include "linux/syscalls.h"
126
#include "linux/syscalls.h"
127
#endif
127
#endif
(-)firegl_public.c.orig (-2 / +2 lines)
Lines 1063-1071 Link Here
1063
1063
1064
int ATI_API_CALL firegl_get_user_ptr(u32 *src, void **dst)
1064
int ATI_API_CALL firegl_get_user_ptr(u32 *src, void **dst)
1065
{
1065
{
1066
  void *temp=NULL;
1066
  unsigned long temp;
1067
  int err = get_user(temp, src); 
1067
  int err = get_user(temp, src); 
1068
  *dst = temp;
1068
  *dst = (void *) temp;
1069
  return err;
1069
  return err;
1070
}
1070
}
1071
1071

Return to bug 116430