CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2010/05/06 15:33:51

Modified files:
        sys/arch/amd64/amd64: syscall.c trap.c 

Log message:
Change trap() and syscall() to accept a pointer rather than using call
by reference for the trap frame, the infrastructure in locore.S for this
was already present.

This prevents gcc4 from optimising away stores into the frame and allows
a gcc4-compiled kernel to boot.

ok kettenis robert guenther

Reply via email to