[librm] Add missing __asmcall on init_idt()

The __asmcall declaration has no effect on a void function with no
parameters, but should be included for completeness since the function
is called directly from assembly code.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/267/head
Michael Brown 2021-02-18 14:51:28 +00:00
parent 22bb29eabc
commit e63b8c3302
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ void set_interrupt_vector ( unsigned int intr, void *vector ) {
* Initialise interrupt descriptor table * Initialise interrupt descriptor table
* *
*/ */
void init_idt ( void ) { __asmcall void init_idt ( void ) {
struct interrupt_vector *vec; struct interrupt_vector *vec;
unsigned int intr; unsigned int intr;