Changeset View
Changeset View
Standalone View
Standalone View
sys/compat/linux/linux_dummy.c
Show All 23 Lines | |||||
* LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | ||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | ||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
*/ | */ | ||||
#include <sys/cdefs.h> | #include <sys/cdefs.h> | ||||
__FBSDID("$FreeBSD$"); | __FBSDID("$FreeBSD$"); | ||||
#include "opt_compat.h" | |||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <sys/kernel.h> | #include <sys/kernel.h> | ||||
#include <sys/sdt.h> | #include <sys/sdt.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/proc.h> | #include <sys/proc.h> | ||||
#ifdef COMPAT_LINUX32 | /* | ||||
#include <machine/../linux32/linux.h> | * We don't need different dummy stubs for 32- vs 64-bit programs. | ||||
emaste: This comment might be confusing without the context of the removed lines - I would rephrase it… | |||||
cemAuthorUnsubmitted Done Inline ActionsI've rewritten this comment somewhat better in what I'll commit, but it's still not especially satisfying. Oh well. cem: I've rewritten this comment somewhat better in what I'll commit, but it's still not especially… | |||||
#include <machine/../linux32/linux32_proto.h> | */ | ||||
#else | |||||
#include <machine/../linux/linux.h> | #include <machine/../linux/linux.h> | ||||
#include <machine/../linux/linux_proto.h> | #include <machine/../linux/linux_proto.h> | ||||
#endif | |||||
#include <compat/linux/linux_dtrace.h> | #include <compat/linux/linux_dtrace.h> | ||||
#include <compat/linux/linux_util.h> | #include <compat/linux/linux_util.h> | ||||
/* DTrace init */ | /* DTrace init */ | ||||
LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); | LIN_SDT_PROVIDER_DECLARE(LINUX_DTRACE); | ||||
UNIMPLEMENTED(afs_syscall); | UNIMPLEMENTED(afs_syscall); | ||||
▲ Show 20 Lines • Show All 103 Lines • Show Last 20 Lines |
This comment might be confusing without the context of the removed lines - I would rephrase it to say that we use the same stubs for 32- and 64-bit