summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/core/relocate.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/i386/core/relocate.c')
-rw-r--r--src/arch/i386/core/relocate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/i386/core/relocate.c b/src/arch/i386/core/relocate.c
index fd8df087..bdc8498e 100644
--- a/src/arch/i386/core/relocate.c
+++ b/src/arch/i386/core/relocate.c
@@ -39,7 +39,7 @@ extern char _etextdata[];
* address space, and returns the physical address of the new location
* to the prefix in %edi.
*/
-__cdecl void relocate ( struct i386_all_regs *ix86 ) {
+__asmcall void relocate ( struct i386_all_regs *ix86 ) {
struct memory_map memmap;
unsigned long start, end, size, padded_size;
unsigned long new_start, new_end;