diff options
author | Helge Deller <deller@gmx.de> | 2007-01-28 10:43:32 -0500 |
---|---|---|
committer | Kyle McMartin <kyle@athena.road.mcmartin.ca> | 2007-02-17 01:17:42 -0500 |
commit | 79793455eba539a3f0ed8d7fd9eef41da0c27e7d (patch) | |
tree | 44adfdb68c3f41c31fed95b4b060b3f33244f99e /arch/parisc/hpux/entry_hpux.S | |
parent | 513e7ecd695a4c0f95b9aa86c03ec9b7d2d09e03 (diff) |
[PARISC] add ENTRY()/ENDPROC() and simplify assembly of HP/UX emulation code
Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Kyle McMartin <kyle@parisc-linux.org>
Diffstat (limited to 'arch/parisc/hpux/entry_hpux.S')
-rw-r--r-- | arch/parisc/hpux/entry_hpux.S | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/parisc/hpux/entry_hpux.S b/arch/parisc/hpux/entry_hpux.S index 31c8cccfba31..d15a413572f0 100644 --- a/arch/parisc/hpux/entry_hpux.S +++ b/arch/parisc/hpux/entry_hpux.S | |||
@@ -18,17 +18,16 @@ | |||
18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | 18 | * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
19 | */ | 19 | */ |
20 | 20 | ||
21 | #include <asm/unistd.h> | ||
22 | #include <asm/assembly.h> | ||
21 | #include <linux/sys.h> | 23 | #include <linux/sys.h> |
22 | #include <linux/linkage.h> | 24 | #include <linux/linkage.h> |
23 | #include <asm/unistd.h> | ||
24 | 25 | ||
25 | #define ENTRY_NAME(_name_) .word _name_ | 26 | #define ENTRY_NAME(_name_) ASM_ULONG_INSN _name_ |
26 | 27 | ||
27 | .section .rodata,"a" | 28 | .section .rodata,"a" |
28 | .align 4 | ||
29 | .export hpux_call_table | ||
30 | .import hpux_unimplemented_wrapper | 29 | .import hpux_unimplemented_wrapper |
31 | hpux_call_table: | 30 | ENTRY(hpux_call_table) |
32 | ENTRY_NAME(sys_ni_syscall) /* 0 */ | 31 | ENTRY_NAME(sys_ni_syscall) /* 0 */ |
33 | ENTRY_NAME(sys_exit) | 32 | ENTRY_NAME(sys_exit) |
34 | ENTRY_NAME(hpux_fork_wrapper) | 33 | ENTRY_NAME(hpux_fork_wrapper) |
@@ -542,5 +541,6 @@ hpux_call_table: | |||
542 | ENTRY_NAME(hpux_unimplemented_wrapper) /* 510 */ | 541 | ENTRY_NAME(hpux_unimplemented_wrapper) /* 510 */ |
543 | ENTRY_NAME(hpux_unimplemented_wrapper) | 542 | ENTRY_NAME(hpux_unimplemented_wrapper) |
544 | ENTRY_NAME(hpux_unimplemented_wrapper) | 543 | ENTRY_NAME(hpux_unimplemented_wrapper) |
544 | END(hpux_call_table) | ||
545 | .end | 545 | .end |
546 | 546 | ||