will be in the maintainance mode on Wednesday June 29th 01:00 - 10:00 (UTC+1). Repositories is read only during the maintainance.

Commit 1a361b41 authored by Randy Dunlap's avatar Randy Dunlap Committed by Dave Airlie
Browse files

drm/r128: fix build for UML

Fix a build error on CONFIG_UML, which does not support (provide)
wbinvd(). UML can use the generic mb() instead.

../drivers/gpu/drm/r128/ati_pcigart.c: In function ‘drm_ati_pcigart_init’:
../drivers/gpu/drm/r128/ati_pcigart.c:218:2: error: implicit declaration of function ‘wbinvd’ [-Werror=implicit-function-declaration]

Fixes: 68f5d3f3

 ("um: add PCI over virtio emulation driver")
Signed-off-by: default avatarRandy Dunlap <>
Cc: David Airlie <>
Cc: Daniel Vetter <>
Cc: Jeff Dike <>
Cc: Richard Weinberger <>
Cc: Anton Ivanov <>
Cc: Sam Ravnborg <>
Signed-off-by: default avatarSam Ravnborg <>

Signed-off-by: default avatarDave Airlie <>
parent d1d94b01
......@@ -214,7 +214,7 @@ int drm_ati_pcigart_init(struct drm_device *dev, struct drm_ati_pcigart_info *ga
ret = 0;
#if defined(__i386__) || defined(__x86_64__)
#ifdef CONFIG_X86
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment