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
0ff2df7e
Commit
0ff2df7e
authored
Feb 12, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ppc64: Remove sys32_mremap, not required on ppc64 since we alter TASK_SIZE
parent
4d8c3efd
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
41 deletions
+9
-41
arch/ppc64/defconfig
arch/ppc64/defconfig
+8
-1
arch/ppc64/kernel/misc.S
arch/ppc64/kernel/misc.S
+1
-1
arch/ppc64/kernel/sys_ppc32.c
arch/ppc64/kernel/sys_ppc32.c
+0
-39
No files found.
arch/ppc64/defconfig
View file @
0ff2df7e
...
...
@@ -26,7 +26,12 @@ CONFIG_LOG_BUF_SHIFT=15
#
# Loadable module support
#
# CONFIG_MODULES is not set
CONFIG_MODULES=y
CONFIG_MODULE_UNLOAD=y
# CONFIG_MODULE_FORCE_UNLOAD is not set
CONFIG_OBSOLETE_MODPARM=y
# CONFIG_MODVERSIONS is not set
# CONFIG_KMOD is not set
#
# Platform support
...
...
@@ -256,6 +261,7 @@ CONFIG_NETDEVICES=y
# Ethernet (10 or 100Mbit)
#
CONFIG_NET_ETHERNET=y
CONFIG_MII=y
# CONFIG_OAKNET is not set
# CONFIG_HAPPYMEAL is not set
# CONFIG_SUNGEM is not set
...
...
@@ -452,6 +458,7 @@ CONFIG_HVC_CONSOLE=y
# CONFIG_AGP is not set
# CONFIG_DRM is not set
CONFIG_RAW_DRIVER=y
# CONFIG_HANGCHECK_TIMER is not set
#
# Multimedia devices
...
...
arch/ppc64/kernel/misc.S
View file @
0ff2df7e
...
...
@@ -666,7 +666,7 @@ _GLOBAL(sys_call_table32)
.
llong
.
sys32_sched_get_priority_min
/*
160
*/
.
llong
.
sys32_sched_rr_get_interval
.
llong
.
compat_sys_nanosleep
.
llong
.
sys
32
_mremap
.
llong
.
sys_mremap
.
llong
.
sys_setresuid
.
llong
.
sys_getresuid
/*
165
*/
.
llong
.
sys_ni_syscall
/*
old
query_module
syscall
*/
...
...
arch/ppc64/kernel/sys_ppc32.c
View file @
0ff2df7e
...
...
@@ -819,45 +819,6 @@ asmlinkage long sys32_sysfs(u32 option, u32 arg1, u32 arg2)
return
sys_sysfs
((
int
)
option
,
arg1
,
arg2
);
}
extern
unsigned
long
do_mremap
(
unsigned
long
addr
,
unsigned
long
old_len
,
unsigned
long
new_len
,
unsigned
long
flags
,
unsigned
long
new_addr
);
asmlinkage
unsigned
long
sys32_mremap
(
unsigned
long
addr
,
unsigned
long
old_len
,
unsigned
long
new_len
,
unsigned
long
flags
,
u32
__new_addr
)
{
unsigned
long
ret
=
-
EINVAL
;
unsigned
long
new_addr
=
AA
(
__new_addr
);
if
(
old_len
>
0xf0000000UL
||
new_len
>
0xf0000000UL
)
goto
out
;
if
(
addr
>
0xf0000000UL
-
old_len
)
goto
out
;
down_write
(
&
current
->
mm
->
mmap_sem
);
if
(
flags
&
MREMAP_FIXED
)
{
if
(
new_addr
>
0xf0000000UL
-
new_len
)
goto
out_sem
;
}
else
if
(
addr
>
0xf0000000UL
-
new_len
)
{
ret
=
-
ENOMEM
;
if
(
!
(
flags
&
MREMAP_MAYMOVE
))
goto
out_sem
;
new_addr
=
get_unmapped_area
(
NULL
,
addr
,
new_len
,
0
,
0
);
if
(
!
new_addr
)
goto
out_sem
;
flags
|=
MREMAP_FIXED
;
}
ret
=
do_mremap
(
addr
,
old_len
,
new_len
,
flags
,
new_addr
);
out_sem:
up_write
(
&
current
->
mm
->
mmap_sem
);
out:
return
ret
;
}
/* Handle adjtimex compatability. */
struct
timex32
{
u32
modes
;
...
...
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