On 14 Sep 2016, at 12:57, Bruce Evans wrote:

Author: bde
Date: Wed Sep 14 12:57:40 2016
New Revision: 305807
URL: https://svnweb.freebsd.org/changeset/base/305807

Log:

Modified:
  head/sys/amd64/amd64/trap.c

breaks all amd64 LINT* kernels:

/scratch/tmp/bz/head.svn/sys/amd64/amd64/trap.c:937:22: error: use of undeclared identifier 'frame'; did you mean 'free'?
        if (!TRAPF_USERMODE(frame)) {
                            ^~~~~
                            free
./machine/cpu.h:53:9: note: expanded from macro 'TRAPF_USERMODE'
        (ISPL((framep)->tf_cs) == SEL_UPL)
               ^
./x86/segments.h:48:20: note: expanded from macro 'ISPL'
#define ISPL(s) ((s)&3) /* priority level of a selector */
                          ^
/scratch/tmp/bz/head.svn/sys/sys/malloc.h:175:6: note: 'free' declared here
void    free(void *addr, struct malloc_type *type);
        ^
/scratch/tmp/bz/head.svn/sys/amd64/amd64/trap.c:937:7: error: member reference base type 'void (void *, struct malloc_type *)' is not a structure or union
        if (!TRAPF_USERMODE(frame)) {
             ^~~~~~~~~~~~~~~~~~~~~
./machine/cpu.h:53:16: note: expanded from macro 'TRAPF_USERMODE'
        (ISPL((framep)->tf_cs) == SEL_UPL)
         ~~~~~~~~~~~~~^~~~~~~~
./x86/segments.h:48:20: note: expanded from macro 'ISPL'
#define ISPL(s) ((s)&3) /* priority level of a selector */
                          ^
2 errors generated.
--- trap.o ---
*** [trap.o] Error code 1

bmake[5]: stopped in /storage/head/obj/scratch/tmp/bz/head.svn/sys/LINT
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to