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
48a6f198
Commit
48a6f198
authored
Oct 19, 2002
by
Jeff Dike
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated to work as 2.5.44.
parent
597e6cf4
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
7 deletions
+20
-7
arch/um/Makefile
arch/um/Makefile
+1
-1
arch/um/kernel/ksyms.c
arch/um/kernel/ksyms.c
+9
-1
arch/um/kernel/process_kern.c
arch/um/kernel/process_kern.c
+1
-1
arch/um/sys-i386/Makefile
arch/um/sys-i386/Makefile
+8
-3
arch/um/uml.lds.S
arch/um/uml.lds.S
+1
-1
No files found.
arch/um/Makefile
View file @
48a6f198
ARCH_DIR
=
arch
/um
ARCH_DIR
=
arch
/um
OS
:=
$(
shell
uname
-s
)
OS
:=
$(
shell
uname
-s
)
EXTRAVERSION
:=
$(EXTRAVERSION)
-
3
um
EXTRAVERSION
:=
$(EXTRAVERSION)
-
1
um
include/linux/version.h
:
arch/$(ARCH)/Makefile
include/linux/version.h
:
arch/$(ARCH)/Makefile
# Recalculate MODLIB to reflect the EXTRAVERSION changes (via KERNELRELEASE)
# Recalculate MODLIB to reflect the EXTRAVERSION changes (via KERNELRELEASE)
...
...
arch/um/kernel/ksyms.c
View file @
48a6f198
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
#include "linux/string.h"
#include "linux/string.h"
#include "linux/smp_lock.h"
#include "linux/smp_lock.h"
#include "linux/spinlock.h"
#include "linux/spinlock.h"
#include <linux/highmem.h>
#include "asm/current.h"
#include "asm/current.h"
#include "asm/delay.h"
#include "asm/delay.h"
#include "asm/processor.h"
#include "asm/processor.h"
...
@@ -74,6 +75,13 @@ EXPORT_SYMBOL_NOVERS(__write_lock_failed);
...
@@ -74,6 +75,13 @@ EXPORT_SYMBOL_NOVERS(__write_lock_failed);
extern
void
FASTCALL
(
__read_lock_failed
(
rwlock_t
*
rw
));
extern
void
FASTCALL
(
__read_lock_failed
(
rwlock_t
*
rw
));
EXPORT_SYMBOL_NOVERS
(
__read_lock_failed
);
EXPORT_SYMBOL_NOVERS
(
__read_lock_failed
);
EXPORT_SYMBOL
(
smp_num_cpus
);
#endif
#ifdef CONFIG_HIGHMEM
EXPORT_SYMBOL
(
kmap
);
EXPORT_SYMBOL
(
kunmap
);
EXPORT_SYMBOL
(
kmap_atomic
);
EXPORT_SYMBOL
(
kunmap_atomic
);
EXPORT_SYMBOL
(
kmap_atomic_to_page
);
#endif
#endif
arch/um/kernel/process_kern.c
View file @
48a6f198
...
@@ -767,8 +767,8 @@ void set_thread_sc(void *sc)
...
@@ -767,8 +767,8 @@ void set_thread_sc(void *sc)
int
smp_sigio_handler
(
void
)
int
smp_sigio_handler
(
void
)
{
{
int
cpu
=
current
->
thread_info
->
cpu
;
#ifdef CONFIG_SMP
#ifdef CONFIG_SMP
int
cpu
=
current
->
thread_info
->
cpu
;
IPI_handler
(
cpu
);
IPI_handler
(
cpu
);
if
(
cpu
!=
0
)
if
(
cpu
!=
0
)
return
(
1
);
return
(
1
);
...
...
arch/um/sys-i386/Makefile
View file @
48a6f198
obj-y
=
bugs.o checksum.o extable.o fault.o ksyms.o ldt.o
old-checksum.o
\
obj-y
=
bugs.o checksum.o extable.o fault.o ksyms.o ldt.o
\
ptrace.o ptrace_user.o semaphore.o sigcontext.o syscalls.o sysrq.o
ptrace.o ptrace_user.o semaphore.o sigcontext.o syscalls.o sysrq.o
obj-$(CONFIG_HIGHMEM)
+=
highmem.o
export-objs
=
ksyms.o
export-objs
=
ksyms.o
USER_OBJS
:=
bugs.o ptrace_user.o sigcontext.o fault.o
USER_OBJS
:=
bugs.o ptrace_user.o sigcontext.o fault.o
USER_OBJS
:=
$(
foreach
file,
$(USER_OBJS)
,arch/um/sys-i386/
$(file)
)
USER_OBJS
:=
$(
foreach
file,
$(USER_OBJS)
,arch/um/sys-i386/
$(file)
)
SYMLINKS
=
semaphore.c
old-checksum.c checksum.S extable
.c
SYMLINKS
=
semaphore.c
checksum.S extable.c highmem
.c
include
$(TOPDIR)/Rules.make
include
$(TOPDIR)/Rules.make
$(USER_OBJS)
:
%.o: %.c
$(USER_OBJS)
:
%.o: %.c
$(CC)
$
(
CFLAGS_
$@
)
$(USER_CFLAGS)
-c
-o
$@
$<
$(CC)
$
(
CFLAGS_
$@
)
$(USER_CFLAGS)
-c
-o
$@
$<
arch/um/sys-i386/checksum.S
arch/um/sys-i386/old-checksum.c
:
arch/um/sys-i386/checksum.S
:
-
rm
-f
$@
-
rm
-f
$@
-
ln
-s
$(TOPDIR)
/arch/i386/lib/
$(
notdir
$@
)
$@
-
ln
-s
$(TOPDIR)
/arch/i386/lib/
$(
notdir
$@
)
$@
...
@@ -25,6 +27,9 @@ arch/um/sys-i386/extable.c:
...
@@ -25,6 +27,9 @@ arch/um/sys-i386/extable.c:
-
rm
-f
$@
-
rm
-f
$@
-
ln
-s
$(TOPDIR)
/arch/i386/mm/
$(
notdir
$@
)
$@
-
ln
-s
$(TOPDIR)
/arch/i386/mm/
$(
notdir
$@
)
$@
arch/um/sys-i386/highmem.c
:
-
rm
-f
$@
-
ln
-s
$(TOPDIR)
/arch/i386/mm/
$(
notdir
$@
)
$@
clean
:
clean
:
$(MAKE)
-C
util clean
$(MAKE)
-C
util clean
...
...
arch/um/uml.lds.S
View file @
48a6f198
...
@@ -65,7 +65,7 @@ SECTIONS
...
@@ -65,7 +65,7 @@ SECTIONS
.
uml.postsetup.init
:
{
*(
.
uml
.
postsetup
.
init
)
}
.
uml.postsetup.init
:
{
*(
.
uml
.
postsetup
.
init
)
}
__uml_postsetup_end
=
.
;
__uml_postsetup_end
=
.
;
__setup_start
=
.
;
__setup_start
=
.
;
.
setup.init
:
{
*(
.
setup
.
init
)
}
.
init.setup
:
{
*(
.
init
.
setup
)
}
__setup_end
=
.
;
__setup_end
=
.
;
__per_cpu_start
=
.
;
__per_cpu_start
=
.
;
.
data.percpu
:
{
*(
.
data
.
percpu
)
}
.
data.percpu
:
{
*(
.
data
.
percpu
)
}
...
...
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