RCS file: /cvsroot/src/sys/external/bsd/drm2/dist/drm/radeon/radeon_ttm.c,v retrieving revision 1.5 diff -u -r1.5 radeon_ttm.c --- radeon_ttm.c 26 Jul 2014 21:19:45 -0000 1.5 +++ radeon_ttm.c 17 Aug 2014 16:08:18 -0000 @@ -50,7 +50,11 @@ #include #endif +#ifdef _LP64 #define DRM_FILE_PAGE_OFFSET (0x100000000ULL >> PAGE_SHIFT) +#else +#define DRM_FILE_PAGE_OFFSET (0xa0000000 >> PAGE_SHIFT) +#endif static int radeon_ttm_debugfs_init(struct radeon_device *rdev); static void radeon_ttm_debugfs_fini(struct radeon_device *rdev);