diff options
author | dumbbell <dumbbell@FreeBSD.org> | 2014-05-03 11:23:10 +0000 |
---|---|---|
committer | dumbbell <dumbbell@FreeBSD.org> | 2014-05-03 11:23:10 +0000 |
commit | b016f706b72aa87a6e4bdd84a656cfd85fccc55a (patch) | |
tree | 9c89ae651e93af3c428bd8d00afd24191261a49c /sys/modules | |
parent | e968d515381cfbcaf7583d946df3e374d6133d1a (diff) | |
download | FreeBSD-src-b016f706b72aa87a6e4bdd84a656cfd85fccc55a.zip FreeBSD-src-b016f706b72aa87a6e4bdd84a656cfd85fccc55a.tar.gz |
drm/radeon: Add 32bit ioctls support
This allows to run 32bit applications on a 64bit host. This was tested
successfully with Wine (emulators/i386-wine-devel) and StarCraft II.
Submitted by: Jan Kokemüller <jan.kokemueller@gmail.com>
MFC after: 1 week
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/drm2/radeonkms/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/modules/drm2/radeonkms/Makefile b/sys/modules/drm2/radeonkms/Makefile index 3786a5e..6315a85 100644 --- a/sys/modules/drm2/radeonkms/Makefile +++ b/sys/modules/drm2/radeonkms/Makefile @@ -88,7 +88,10 @@ SRCS += \ si.c \ si_blit_shaders.c -#radeon_ioc32.c +.if ${MACHINE_CPUARCH} == "amd64" +SRCS += radeon_ioc32.c +.endif + #radeon_prime.c #--radeon_trace_points.c |