Skip to content

Commit

Permalink
IBM PowerPC(PPC64le) redhat uses 4.14 as of 7.5 and 7.6 (Xilinx#1935)
Browse files Browse the repository at this point in the history
  • Loading branch information
xdavidz committed Oct 28, 2019
1 parent c8a718f commit 2401005
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime_src/core/pcie/driver/linux/xocl/xocl_drv.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@
/* drm_dev_put was introduced with Linux 4.15 and backported to Red Hat 7.6. */
#if LINUX_VERSION_CODE >= KERNEL_VERSION(4,15,0)
#define XOCL_DRM_DEV_PUT drm_dev_put
#elif defined(RHEL_RELEASE_CODE)
#elif defined(RHEL_RELEASE_CODE) && !defined(__PPC64__)
#if RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(7,6)
#define XOCL_DRM_DEV_PUT drm_dev_put
#else
Expand Down

0 comments on commit 2401005

Please sign in to comment.