Skip to content

use proper linux-regs API in tsetjmp #1087

Description

@olafhering

According to the way linux-regs.h is used elsewhere in the repository (at 8e9ed53), the intended API appears to be:

#include <linux/linux-regs.h>

I think this change is required, and the additional internal/linux related include can be removed from Makefile:

--- linux-sgx-2.26.orig/sdk/tsetjmp/_setjmp.S
+++ linux-sgx-2.26/sdk/tsetjmp/_setjmp.S
@@ -34,7 +34,7 @@
  *     from: @(#)_setjmp.s     5.1 (Berkeley) 4/23/90
  */
 .file "_setjmp.S"
-#include "linux-regs.h"
+#include <linux/linux-regs.h>
 #if defined(LIBC_SCCS)
        RCSID("$NetBSD: _setjmp.S,v 1.9 2014/05/23 02:34:19 uebayasi Exp $")
 #endif

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions