summaryrefslogtreecommitdiffstats
path: root/arch/parisc/hpux/entry_hpux.S
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2007-01-28 16:43:32 +0100
committerKyle McMartin <kyle@athena.road.mcmartin.ca>2007-02-17 01:17:42 -0500
commit79793455eba539a3f0ed8d7fd9eef41da0c27e7d (patch)
tree44adfdb68c3f41c31fed95b4b060b3f33244f99e /arch/parisc/hpux/entry_hpux.S
parent513e7ecd695a4c0f95b9aa86c03ec9b7d2d09e03 (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.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/parisc/hpux/entry_hpux.S b/arch/parisc/hpux/entry_hpux.S
index 31c8cccfba3..d15a413572f 100644
--- a/arch/parisc/hpux/entry_hpux.S
+++ b/arch/parisc/hpux/entry_hpux.S
@@ -18,17 +18,16 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
+#include <asm/unistd.h>
+#include <asm/assembly.h>
#include <linux/sys.h>
#include <linux/linkage.h>
-#include <asm/unistd.h>
-#define ENTRY_NAME(_name_) .word _name_
+#define ENTRY_NAME(_name_) ASM_ULONG_INSN _name_
.section .rodata,"a"
- .align 4
- .export hpux_call_table
.import hpux_unimplemented_wrapper
-hpux_call_table:
+ENTRY(hpux_call_table)
ENTRY_NAME(sys_ni_syscall) /* 0 */
ENTRY_NAME(sys_exit)
ENTRY_NAME(hpux_fork_wrapper)
@@ -542,5 +541,6 @@ hpux_call_table:
ENTRY_NAME(hpux_unimplemented_wrapper) /* 510 */
ENTRY_NAME(hpux_unimplemented_wrapper)
ENTRY_NAME(hpux_unimplemented_wrapper)
+END(hpux_call_table)
.end