Don't include <machine/_regset.h> when _MACHINE_REGSET_H_ in defined.

This is not for multiple inclusion purposes, because _regset.h already
handles this, but to enable inclusion of the MD header by cross-tools
on non-ia64 installations. The cross-tool can include _regset.h itself
before including MD headers that depend on it.
This commit is contained in:
Marcel Moolenaar 2010-03-21 22:33:09 +00:00
parent 531a1a4b2c
commit c50679660e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=205428
2 changed files with 4 additions and 0 deletions

View File

@ -29,7 +29,9 @@
#ifndef _MACHINE_FRAME_H_
#define _MACHINE_FRAME_H_
#ifndef _MACHINE_REGSET_H_
#include <machine/_regset.h>
#endif
/*
* Software trap, exception, and syscall frame.

View File

@ -30,7 +30,9 @@
#ifndef _MACHINE_PCB_H_
#define _MACHINE_PCB_H_
#ifndef _MACHINE_REGSET_H_
#include <machine/_regset.h>
#endif
/*
* PCB: process control block