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
5b636f78
Commit
5b636f78
authored
Feb 15, 2002
by
Paul Mackerras
Browse files
Options
Browse Files
Download
Plain Diff
Merge tango.paulus.ozlabs.org:/home/paulus/kernel/linux-2.5
into tango.paulus.ozlabs.org:/home/paulus/kernel/linuxppc-2.5
parents
7994321a
0cbf5ed1
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
18 additions
and
35 deletions
+18
-35
arch/ppc/kernel/entry.S
arch/ppc/kernel/entry.S
+2
-0
arch/ppc/kernel/head.S
arch/ppc/kernel/head.S
+0
-4
arch/ppc/kernel/head_4xx.S
arch/ppc/kernel/head_4xx.S
+0
-2
arch/ppc/kernel/head_8xx.S
arch/ppc/kernel/head_8xx.S
+0
-4
arch/ppc/kernel/iSeries_head.S
arch/ppc/kernel/iSeries_head.S
+0
-5
arch/ppc/kernel/process.c
arch/ppc/kernel/process.c
+6
-0
arch/ppc/kernel/setup.c
arch/ppc/kernel/setup.c
+0
-7
arch/ppc/kernel/signal.c
arch/ppc/kernel/signal.c
+1
-0
arch/ppc/vmlinux.lds
arch/ppc/vmlinux.lds
+5
-1
include/asm-ppc/mmu_context.h
include/asm-ppc/mmu_context.h
+2
-8
include/asm-ppc/processor.h
include/asm-ppc/processor.h
+2
-4
No files found.
arch/ppc/kernel/entry.S
View file @
5b636f78
...
...
@@ -277,7 +277,9 @@ END_FTR_SECTION_IFSET(CPU_FTR_ALTIVEC)
.
globl
ret_from_fork
ret_from_fork
:
#ifdef CONFIG_SMP
bl
schedule_tail
#endif
rlwinm
r3
,
r1
,
0
,
0
,
18
lwz
r3
,
TI_FLAGS
(
r3
)
andi
.
r0
,
r3
,
_TIF_SYSCALL_TRACE
...
...
arch/ppc/kernel/head.S
View file @
5b636f78
...
...
@@ -1727,10 +1727,6 @@ m8260_gorom:
.
data
.
globl
sdata
sdata
:
.
globl
init_thread_union
init_thread_union
:
.
space
8192
.
globl
empty_zero_page
empty_zero_page
:
.
space
4096
...
...
arch/ppc/kernel/head_4xx.S
View file @
5b636f78
...
...
@@ -1082,8 +1082,6 @@ _GLOBAL(set_context)
*/
.
data
_GLOBAL
(
sdata
)
_GLOBAL
(
init_thread_union
)
.
space
8192
_GLOBAL
(
empty_zero_page
)
.
space
4096
_GLOBAL
(
swapper_pg_dir
)
...
...
arch/ppc/kernel/head_8xx.S
View file @
5b636f78
...
...
@@ -971,10 +971,6 @@ set_dec_cpu6:
.
data
.
globl
sdata
sdata
:
.
globl
init_thread_union
init_thread_union
:
.
space
8192
.
globl
empty_zero_page
empty_zero_page
:
.
space
4096
...
...
arch/ppc/kernel/iSeries_head.S
View file @
5b636f78
...
...
@@ -1496,11 +1496,6 @@ _GLOBAL(abort)
.
data
.
globl
sdata
sdata
:
.
globl
init_thread_union
init_thread_union
:
.
space
8192
.
globl
empty_zero_page
empty_zero_page
:
.
space
4096
...
...
arch/ppc/kernel/process.c
View file @
5b636f78
...
...
@@ -59,6 +59,12 @@ static struct files_struct init_files = INIT_FILES;
static
struct
signal_struct
init_signals
=
INIT_SIGNALS
;
struct
mm_struct
init_mm
=
INIT_MM
(
init_mm
);
/* this is 8kB-aligned so we can get to the thread_info struct
at the base of it from the stack pointer with 1 integer instruction. */
union
thread_union
init_thread_union
__attribute__
((
__section__
(
".data.init_task"
)))
=
{
INIT_THREAD_INFO
(
init_task
)
};
/* initial task structure */
struct
task_struct
init_task
=
INIT_TASK
(
init_task
);
...
...
arch/ppc/kernel/setup.c
View file @
5b636f78
...
...
@@ -35,7 +35,6 @@
#include <asm/uaccess.h>
#include <asm/system.h>
#include <asm/pmac_feature.h>
#include <asm/thread_info.h>
#if defined CONFIG_KGDB
#include <asm/kgdb.h>
...
...
@@ -542,9 +541,6 @@ int __init ppc_init(void)
arch_initcall
(
ppc_init
);
/* Initial thread_info struct, copied into init_task_union */
struct
thread_info
init_thread_values
__initdata
=
INIT_THREAD_INFO
(
init_task
);
/* Warning, IO base is not yet inited */
void
__init
setup_arch
(
char
**
cmdline_p
)
{
...
...
@@ -553,9 +549,6 @@ void __init setup_arch(char **cmdline_p)
extern
char
*
klimit
;
extern
void
do_init_bootmem
(
void
);
/* initialize the thread_info for the init task */
init_thread_info
=
init_thread_values
;
/* so udelay does something sensible, assume <= 1000 bogomips */
loops_per_jiffy
=
500000000
/
HZ
;
...
...
arch/ppc/kernel/signal.c
View file @
5b636f78
...
...
@@ -30,6 +30,7 @@
#include <linux/stddef.h>
#include <linux/elf.h>
#include <linux/tty.h>
#include <linux/binfmts.h>
#include <asm/ucontext.h>
#include <asm/uaccess.h>
#include <asm/pgtable.h>
...
...
arch/ppc/vmlinux.lds
View file @
5b636f78
...
...
@@ -49,8 +49,9 @@ SECTIONS
.fini : { *(.fini) } =0
.ctors : { *(.ctors) }
.dtors : { *(.dtors) }
/* Read-write section, merged into data segment: */
. =
(. + 0x0FFF) & 0xFFFFF000
;
. =
ALIGN(4096)
;
.data :
{
*(.data)
...
...
@@ -80,6 +81,9 @@ SECTIONS
. = ALIGN(32);
.data.cacheline_aligned : { *(.data.cacheline_aligned) }
. = ALIGN(8192);
.data.init_task : { *(.data.init_task) }
. = ALIGN(4096);
__init_begin = .;
.text.init : { *(.text.init) }
...
...
include/asm-ppc/mmu_context.h
View file @
5b636f78
...
...
@@ -10,10 +10,6 @@
#include <asm/bitops.h>
#include <asm/mmu.h>
#if MAX_RT_PRIO != 128 || MAX_PRIO != 168
# error update this function.
#endif
static
inline
int
sched_find_first_bit
(
unsigned
long
*
b
)
{
if
(
unlikely
(
b
[
0
]))
...
...
@@ -22,11 +18,9 @@ static inline int sched_find_first_bit(unsigned long *b)
return
__ffs
(
b
[
1
])
+
32
;
if
(
unlikely
(
b
[
2
]))
return
__ffs
(
b
[
2
])
+
64
;
if
(
unlikely
(
b
[
3
])
)
if
(
b
[
3
]
)
return
__ffs
(
b
[
3
])
+
96
;
if
(
b
[
4
])
return
__ffs
(
b
[
4
])
+
128
;
return
__ffs
(
b
[
5
])
+
32
+
128
;
return
__ffs
(
b
[
4
])
+
128
;
}
/*
...
...
include/asm-ppc/processor.h
View file @
5b636f78
...
...
@@ -714,10 +714,8 @@ struct thread_struct {
/*
* Return saved PC of a blocked thread. For now, this is the "user" PC
*/
static
inline
unsigned
long
thread_saved_pc
(
struct
thread_struct
*
t
)
{
return
(
t
->
regs
)
?
t
->
regs
->
nip
:
0
;
}
#define thread_saved_pc(tsk) \
((tsk)->thread.regs? (tsk)->thread.regs->nip: 0)
#define copy_segments(tsk, mm) do { } while (0)
#define release_segments(mm) do { } while (0)
...
...
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