Provide a suitable default so that kdump compiles on architectures
not supported yet.
This commit is contained in:
parent
ac7c4d39c5
commit
627091bd84
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_syscall.h,v 1.34 1998/10/01 04:20:18 erh Exp $ */
|
||||
/* $NetBSD: linux_syscall.h,v 1.35 1998/10/01 18:23:37 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -39,12 +39,12 @@
|
||||
#ifndef _LINUX_SYSCALL_H
|
||||
#define _LINUX_SYSCALL_H
|
||||
|
||||
#if defined(i386)
|
||||
#if defined(__i386__)
|
||||
#include <compat/linux/i386/linux_syscall.h>
|
||||
#elif defined(__alpha__)
|
||||
#include <compat/linux/alpha/linux_syscall.h>
|
||||
#else
|
||||
#error Undefined linux_syscall.h machine type.
|
||||
#define LINUX_SYS_MAXSYSCALL 0
|
||||
#endif
|
||||
|
||||
#endif /* !_LINUX_SYSCALL_H */
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: linux_syscalls.c,v 1.32 1998/10/01 04:13:25 erh Exp $ */
|
||||
/* $NetBSD: linux_syscalls.c,v 1.33 1998/10/01 18:23:38 christos Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1998 The NetBSD Foundation, Inc.
|
||||
@ -38,10 +38,10 @@
|
||||
|
||||
/* XXX XXX This exists to keep kdump and friends happy. */
|
||||
|
||||
#if defined(i386)
|
||||
#if defined(__i386__)
|
||||
#include "../../sys/compat/linux/i386/linux_syscalls.c"
|
||||
#elif defined(__alpha__)
|
||||
#include "../../sys/compat/linux/alpha/linux_syscalls.c"
|
||||
#else
|
||||
#error Undefined linux_syscalls.c machine type.
|
||||
char *linux_syscallnames[] = { 0 };
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user