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
Kirill Smelkov
linux
Commits
525a1a51
Commit
525a1a51
authored
Dec 29, 2002
by
Jeff Dike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed a few problems in the last merge.
parent
77074c5d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
5 additions
and
10 deletions
+5
-10
arch/um/kernel/Makefile
arch/um/kernel/Makefile
+1
-4
arch/um/kernel/mem.c
arch/um/kernel/mem.c
+1
-1
arch/um/kernel/skas/trap_user.c
arch/um/kernel/skas/trap_user.c
+1
-1
arch/um/kernel/tt/process_kern.c
arch/um/kernel/tt/process_kern.c
+1
-0
arch/um/kernel/user_syms.c
arch/um/kernel/user_syms.c
+1
-4
No files found.
arch/um/kernel/Makefile
View file @
525a1a51
...
...
@@ -23,9 +23,6 @@ obj-$(CONFIG_MODE_SKAS) += skas/
user-objs-$(CONFIG_TTY_LOG)
+=
tty_log.o
# user_syms.o not included here because Rules.make has its own ideas about
# building anything in export-objs
USER_OBJS
:=
$(
filter
%_user.o,
$
(
obj-y
))
$
(
user-objs-y
)
config.o helper.o
\
process.o tempfile.o time.o tty_log.o umid.o user_util.o user_syms.o
USER_OBJS
:=
$(
foreach
file,
$(USER_OBJS)
,
$(obj)
/
$(file)
)
...
...
@@ -47,7 +44,7 @@ CFLAGS_user_syms.o = -D__AUTOCONF_INCLUDED__ $(DMODULES-y) $(DMODVERSIONS-y) \
CFLAGS_frame.o
:=
$(
patsubst
-fomit-frame-pointer
,,
$(USER_CFLAGS)
)
$(USER_OBJS)
:
%.o: %.c
$(CC)
$
(
CFLAGS_
$
@
)
$(USER_CFLAGS)
-c
-o
$@
$<
$(CC)
$
(
CFLAGS_
$
(
notdir
$@
)
)
$(USER_CFLAGS)
-c
-o
$@
$<
$(obj)/unmap.o
:
$(src)/unmap.c
$(CC)
$(UNMAP_CFLAGS)
-c
-o
$@
$<
...
...
arch/um/kernel/mem.c
View file @
525a1a51
...
...
@@ -435,7 +435,7 @@ struct page *arch_validate(struct page *page, int mask, int order)
addr
+=
PAGE_SIZE
;
}
if
(
i
==
(
1
<<
order
))
return
(
page
);
page
=
_
alloc_pages
(
mask
,
order
);
page
=
alloc_pages
(
mask
,
order
);
goto
again
;
}
...
...
arch/um/kernel/skas/trap_user.c
View file @
525a1a51
...
...
@@ -44,7 +44,7 @@ void user_signal(int sig, union uml_pt_regs *regs)
if
(
sig
==
SIGVTALRM
)
missed_ticks
[
cpu
()]
++
;
regs
->
skas
.
is_user
=
1
;
regs
->
fault_addr
=
0
;
regs
->
skas
.
fault_addr
=
0
;
regs
->
skas
.
fault_type
=
0
;
regs
->
skas
.
trap_type
=
0
;
info
=
&
sig_info
[
sig
];
...
...
arch/um/kernel/tt/process_kern.c
View file @
525a1a51
...
...
@@ -6,6 +6,7 @@
#include "linux/sched.h"
#include "linux/signal.h"
#include "linux/kernel.h"
#include "linux/interrupt.h"
#include "asm/system.h"
#include "asm/pgalloc.h"
#include "asm/ptrace.h"
...
...
arch/um/kernel/user_syms.c
View file @
525a1a51
...
...
@@ -10,10 +10,7 @@
#include <sys/ioctl.h>
#include "user_util.h"
#include "mem_user.h"
/* XXX All the __CONFIG_* stuff is broken because this file can't include
* config.h
*/
#include "uml-config.h"
/* Had to steal this from linux/module.h because that file can't be included
* since this includes various user-level headers.
...
...
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