[RFC PATCH] drm.h: Fix DRM compilation with bare-metal toolchain.

Rob Clark robdclark at gmail.com
Wed Apr 17 04:13:48 PDT 2013


On Wed, Apr 17, 2013 at 6:43 AM, Arnd Bergmann <arnd at arndb.de> wrote:
>> drivers/scsi/aic7xxx/aicasm/aicasm_symbol.c:#ifdef __linux__
>> drivers/scsi/aic7xxx/aicasm/aicasm_symbol.h:#ifdef __linux__
>> drivers/scsi/dpt/osd_defs.h:#if (defined(__linux__))
>> drivers/staging/ced1401/machine.h:#if (defined(__linux__) || defined(_linux) || defined(__linux)) && !defined(LINUX)
>
> These are all drivers that are shared with another OS, or used
> to be. In most of them, we can probably just remove the
> #else path, since I don't think they are getting synchronized
> any more.


note that DRM gets periodically ported to the *BSD's, so possibly the
same applies here..

BR,
-R


More information about the dri-devel mailing list