summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
diff options
context:
space:
mode:
authorjsg <jsg@openbsd.org>2019-08-19 09:34:13 +0000
committerjsg <jsg@openbsd.org>2019-08-19 09:34:13 +0000
commit16fe02eac21d0966917a19564e04e3ad76ffa049 (patch)
tree414b5c28a8c40c74d8626a824b8b76b0e2801b62 /sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
parentmatch on r40 ahci (diff)
downloadwireguard-openbsd-16fe02eac21d0966917a19564e04e3ad76ffa049.tar.xz
wireguard-openbsd-16fe02eac21d0966917a19564e04e3ad76ffa049.zip
define CONFIG_X86* in autoconf.h as needed and reduce diff to linux
ok kettenis@
Diffstat (limited to 'sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c')
-rw-r--r--sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c b/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
index b2f93eb5ac9..30ed93252bf 100644
--- a/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
+++ b/sys/dev/pci/drm/amd/amdgpu/amdgpu_object.c
@@ -420,18 +420,6 @@ fail:
return false;
}
-#ifdef __amd64__
-#define CONFIG_X86 1
-#define CONFIG_X86_64 1
-#define CONFIG_X86_PAT 1
-#endif
-
-#ifdef __i386__
-#define CONFIG_X86 1
-#define CONFIG_X86_32 1
-#define CONFIG_X86_PAT 1
-#endif
-
static int amdgpu_bo_do_create(struct amdgpu_device *adev,
struct amdgpu_bo_param *bp,
struct amdgpu_bo **bo_ptr)