amd64: -m32 support for machine/proc.h
Install the i386 proc.h under /usr/include/i386 on amd64 and include when targeting i386. Reviewed by: jhb, imp
This commit is contained in:
parent
3cd1b382c6
commit
b3120c0aeb
@ -7,6 +7,7 @@ INCS= \
|
||||
atomic.h \
|
||||
cpufunc.h \
|
||||
pmap.h \
|
||||
proc.h \
|
||||
profile.h \
|
||||
segments.h
|
||||
INCSDIR= ${INCLUDEDIR}/i386
|
||||
|
@ -32,6 +32,10 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifdef __i386__
|
||||
#include <i386/proc.h>
|
||||
#else /* !__i386__ */
|
||||
|
||||
#ifndef _MACHINE_PROC_H_
|
||||
#define _MACHINE_PROC_H_
|
||||
|
||||
@ -117,3 +121,5 @@ extern int max_ldt_segment;
|
||||
#endif /* _KERNEL */
|
||||
|
||||
#endif /* !_MACHINE_PROC_H_ */
|
||||
|
||||
#endif /* __i386__ */
|
||||
|
Loading…
Reference in New Issue
Block a user