Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 08 Jun 2017 09:46:03 -0700
From:      John Baldwin <jhb@freebsd.org>
To:        Justin Hibbits <jhibbits@freebsd.org>
Cc:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r319675 - in head/sys/compat/linuxkpi/common: include/linux src
Message-ID:  <1791910.JUImbCqpWx@ralph.baldwin.cx>
In-Reply-To: <201706080244.v582iYTf034529@repo.freebsd.org>
References:  <201706080244.v582iYTf034529@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thursday, June 08, 2017 02:44:34 AM Justin Hibbits wrote:
> Author: jhibbits
> Date: Thu Jun  8 02:44:34 2017
> New Revision: 319675
> URL: https://svnweb.freebsd.org/changeset/base/319675
> 
> Log:
>   Remove ARM and MIPS from linuxkpi ioremap_attr definition
>   
>   ARM and MIPS fail universe builds.
>   
>   ARM and MIPS are missing the following:
>   * VM_MEMATTR_WRITE_THROUGH
>   * VM_MEMATTR_WRITE_COMBINING
>   
>   Pointy-hat to:	jhibbits

The intention when VM_MEMATTR_* was added was that they were macros on
purpose so you could do things like:

#ifdef VM_MEMATTR_WRITE_COMBINING
	/* WC is available as an option */
#endif

Perhaps something similar can be done here?

-- 
John Baldwin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1791910.JUImbCqpWx>