Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building fails for am64



ks%ub.uni-mainz.de@localhost ("K. Schreiner") writes:

>/u/NetBSD/src/usr.sbin/crash/../../sys/arch/x86/x86/db_trace.c: In function 'db_stack_trace_print':
>/u/NetBSD/arch/amd64/obj/usr.sbin/crash/x86/db_machdep.h:6:42: error: 'VM_MIN_KERNEL_ADDRESS' undeclared (first use in this function)
> #define INKERNEL(va) (((vaddr_t)(va)) >= VM_MIN_KERNEL_ADDRESS)


Someone thought that kernel variables shouldn't be exposed to userland,
breaking compilation of crash(8) that way.

That only affects x86 as everywhere else VM_MIN_KERNEL_ADDRESS is still
a compile time constant.

-- 
-- 
                                Michael van Elst
Internet: mlelstv%serpens.de@localhost
                                "A potential Snark may lurk in every tree."


Home | Main Index | Thread Index | Old Index