Expose doreti as a global symbol on amd64 and i386.
doreti provides the common code path for returning from interrupt andlers on x86. Exposing doreti as a global symbol allows kernel modules to include low-level interrupt handlers instead of requiring all low-level handlers to be statically compiled into the kernel. Submitted by: Howard Su <howard0su@gmail.com> Reviewed by: kib
This commit is contained in:
parent
c87a3c998c
commit
b5f76666d8
@ -659,6 +659,7 @@ MCOUNT_LABEL(eintr)
|
||||
.text
|
||||
SUPERALIGN_TEXT
|
||||
.type doreti,@function
|
||||
.globl doreti
|
||||
doreti:
|
||||
FAKE_MCOUNT($bintr) /* init "from" bintr -> doreti */
|
||||
/*
|
||||
|
@ -343,6 +343,7 @@ MCOUNT_LABEL(eintr)
|
||||
.text
|
||||
SUPERALIGN_TEXT
|
||||
.type doreti,@function
|
||||
.globl doreti
|
||||
doreti:
|
||||
FAKE_MCOUNT($bintr) /* init "from" bintr -> doreti */
|
||||
doreti_next:
|
||||
|
Loading…
Reference in New Issue
Block a user