aboutsummaryrefslogtreecommitdiffstats
path: root/arch/parisc/kernel/entry.S
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2015-02-16 16:21:00 -0500
committerHelge Deller <deller@gmx.de>2015-02-16 16:35:06 -0500
commitc78c2b7e0409feed41ba1b5e84bff5d901c9b65f (patch)
tree66870948164f863cfc0c09e3c2de124ae94b71d7 /arch/parisc/kernel/entry.S
parent863722e856e64dae0e252b6bb546737c6c5626ce (diff)
parisc: hpux - Remove hpux gateway page
Drop code to create HP-UX gateway page and syscall entry code. Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'arch/parisc/kernel/entry.S')
-rw-r--r--arch/parisc/kernel/entry.S20
1 files changed, 0 insertions, 20 deletions
diff --git a/arch/parisc/kernel/entry.S b/arch/parisc/kernel/entry.S
index e8f07dd28401..2ab16bb160a8 100644
--- a/arch/parisc/kernel/entry.S
+++ b/arch/parisc/kernel/entry.S
@@ -1774,10 +1774,6 @@ ENTRY(sys_rt_sigreturn_wrapper)
1774ENDPROC(sys_rt_sigreturn_wrapper) 1774ENDPROC(sys_rt_sigreturn_wrapper)
1775 1775
1776ENTRY(syscall_exit) 1776ENTRY(syscall_exit)
1777 /* NOTE: HP-UX syscalls also come through here
1778 * after hpux_syscall_exit fixes up return
1779 * values. */
1780
1781 /* NOTE: Not all syscalls exit this way. rt_sigreturn will exit 1777 /* NOTE: Not all syscalls exit this way. rt_sigreturn will exit
1782 * via syscall_exit_rfi if the signal was received while the process 1778 * via syscall_exit_rfi if the signal was received while the process
1783 * was running. 1779 * was running.
@@ -1789,22 +1785,6 @@ ENTRY(syscall_exit)
1789 LDREG TI_TASK(%r1),%r1 1785 LDREG TI_TASK(%r1),%r1
1790 STREG %r28,TASK_PT_GR28(%r1) 1786 STREG %r28,TASK_PT_GR28(%r1)
1791 1787
1792#ifdef CONFIG_HPUX
1793/* <linux/personality.h> cannot be easily included */
1794#define PER_HPUX 0x10
1795 ldw TASK_PERSONALITY(%r1),%r19
1796
1797 /* We can't use "CMPIB<> PER_HPUX" since "im5" field is sign extended */
1798 ldo -PER_HPUX(%r19), %r19
1799 cmpib,COND(<>),n 0,%r19,1f
1800
1801 /* Save other hpux returns if personality is PER_HPUX */
1802 STREG %r22,TASK_PT_GR22(%r1)
1803 STREG %r29,TASK_PT_GR29(%r1)
18041:
1805
1806#endif /* CONFIG_HPUX */
1807
1808 /* Seems to me that dp could be wrong here, if the syscall involved 1788 /* Seems to me that dp could be wrong here, if the syscall involved
1809 * calling a module, and nothing got round to restoring dp on return. 1789 * calling a module, and nothing got round to restoring dp on return.
1810 */ 1790 */