d950c5898a2d8733cd6e75e7ef82b08acac79b34 breaks sys/arm64/iommu/iommu_pmap.c

Jesper Schmitz Mouridsen <[email protected]>
Newsgroups gmane.os.freebsd.devel.arm,gmane.os.freebsd.current
Message-ID <[email protected]>
Hi
d950c5898a2d8733cd6e75e7ef82b08acac79b34 breaks arm64 with options IOMMU.

grep -nir vm_page.h sys/arm64/iommu/iommu_pmap.c
sys/arm64/iommu/iommu_pmap.c:50:#include <vm/vm_page.h>


/usr/src/sys/arm64/iommu/iommu_pmap.c:539:52: error: implicit 
declaration of function 'UINT64_C' is invalid in C99 
[-Werror,-Wimplicit-function-declaration]
./machine/pte.h:53:21: note: expanded from macro 'ATTR_MASK'
#define ATTR_MASK               (ATTR_MASK_H | ATTR_MASK_L)
                                  ^
./machine/pte.h:51:22: note: expanded from macro 'ATTR_MASK_H'
#define ATTR_MASK_H             UINT64_C(0xfffc000000000000)


How best to fix this? #include <sys/systm.h> in iommu_pmap.c?

Thanks
/jsm
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.