Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
be128fb2
Commit
be128fb2
authored
Jun 04, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: remove sys32.S
parent
2549eb55
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
28 deletions
+9
-28
arch/ppc64/kernel/Makefile
arch/ppc64/kernel/Makefile
+1
-1
arch/ppc64/kernel/sys32.S
arch/ppc64/kernel/sys32.S
+0
-27
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+8
-0
No files found.
arch/ppc64/kernel/Makefile
View file @
be128fb2
...
...
@@ -7,7 +7,7 @@ extra-y := head.o
obj-y
:=
setup.o entry.o traps.o irq.o idle.o
\
time.o process.o signal.o syscalls.o misc.o ptrace.o
\
align.o semaphore.o bitops.o stab.o htab.o pacaData.o
\
udbg.o binfmt_elf32.o sys_ppc32.o
sys32.o
ioctl32.o
\
udbg.o binfmt_elf32.o sys_ppc32.o ioctl32.o
\
ptrace32.o signal32.o pmc.o rtc.o init_task.o
\
lmb.o pci.o pci_dn.o pci_dma.o
...
...
arch/ppc64/kernel/sys32.S
deleted
100644 → 0
View file @
2549eb55
/*
*
sys32
.
S
:
I
-
cache
tricks
for
32
-
bit
compatibility
layer
simple
*
conversions
.
*
*
Copyright
(
C
)
1997
David
S
.
Miller
(
davem
@
caip
.
rutgers
.
edu
)
*
Copyright
(
C
)
1998
Jakub
Jelinek
(
jj
@
ultra
.
linux
.
cz
)
*
Copyright
(
C
)
2000
Ken
Aaker
(
kdaaker
@
rchland
.
vnet
.
ibm
.
com
)
*
For
PPC
ABI
convention
is
parms
in
Regs
3
-
10
.
*
The
router
in
entry
.
S
clears
the
high
32
bits
in
the
first
*
4
arguments
(
R3
-
R6
)
.
*
*
This
program
is
free
software
; you can redistribute it and/or
*
modify
it
under
the
terms
of
the
GNU
General
Public
License
*
as
published
by
the
Free
Software
Foundation
; either version
*
2
of
the
License
,
or
(
at
your
option
)
any
later
version
.
*/
#include <asm/ppc_asm.h>
#include <asm/errno.h>
#include <asm/processor.h>
.
text
_GLOBAL
(
ppc32_lseek
)
extsw
r4
,
r4
/*
sign
extend
off_t
offset
parm
*/
b
.
sys_lseek
arch/ppc64/kernel/sys_ppc32.c
View file @
be128fb2
...
...
@@ -2318,6 +2318,14 @@ long sys32_nice(u32 increment)
return
sys_nice
((
int
)
increment
);
}
extern
off_t
sys_lseek
(
unsigned
int
fd
,
off_t
offset
,
unsigned
int
origin
);
off_t
ppc32_lseek
(
unsigned
int
fd
,
u32
offset
,
unsigned
int
origin
)
{
/* sign extend n */
return
sys_lseek
(
fd
,
(
int
)
offset
,
origin
);
}
/*
* This is just a version for 32-bit applications which does
* not force O_LARGEFILE on.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment