2003-02-24 11:35:29

by Frank Cornelis

[permalink] [raw]
Subject: [PATCH] entry.S ALIGNs, kernel 2.5.62

Hi,

Since the ENTRY macro offers an ALIGN directive we can remove some
obsolete ALIGNs from entry.S.

BTW: arch/i386/kernel/ptrace.c:do_syscall_trace has regparm(3). Shouldn't
that be 2?

Frank.

--- entry.S.orig 2003-02-24 12:34:34.000000000 +0100
+++ entry.S 2003-02-24 12:35:07.000000000 +0100
@@ -228,7 +228,6 @@
#define SYSENTER_RETURN 0xffffe010

# sysenter call handler stub
- ALIGN
ENTRY(sysenter_entry)
sti
pushl $(__USER_DS)
@@ -271,7 +270,6 @@


# system call handler stub
- ALIGN
ENTRY(system_call)
pushl %eax # save orig_eax
SAVE_ALL