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
da292bbe
Commit
da292bbe
authored
Mar 26, 2009
by
Martin Schwidefsky
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[S390] eliminate ipl_device from lowcore
Signed-off-by:
Martin Schwidefsky
<
schwidefsky@de.ibm.com
>
parent
7b468488
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
2 additions
and
10 deletions
+2
-10
arch/s390/include/asm/lowcore.h
arch/s390/include/asm/lowcore.h
+2
-6
arch/s390/kernel/head31.S
arch/s390/kernel/head31.S
+0
-1
arch/s390/kernel/head64.S
arch/s390/kernel/head64.S
+0
-1
arch/s390/kernel/setup.c
arch/s390/kernel/setup.c
+0
-1
arch/s390/kernel/smp.c
arch/s390/kernel/smp.c
+0
-1
No files found.
arch/s390/include/asm/lowcore.h
View file @
da292bbe
...
@@ -80,7 +80,6 @@
...
@@ -80,7 +80,6 @@
#define __LC_USER_ASCE 0xC50
#define __LC_USER_ASCE 0xC50
#define __LC_PANIC_STACK 0xC54
#define __LC_PANIC_STACK 0xC54
#define __LC_CPUID 0xC60
#define __LC_CPUID 0xC60
#define __LC_IPLDEV 0xC7C
#define __LC_CURRENT 0xC90
#define __LC_CURRENT 0xC90
#define __LC_INT_CLOCK 0xC98
#define __LC_INT_CLOCK 0xC98
#else
/* __s390x__ */
#else
/* __s390x__ */
...
@@ -101,7 +100,6 @@
...
@@ -101,7 +100,6 @@
#define __LC_USER_ASCE 0xD60
#define __LC_USER_ASCE 0xD60
#define __LC_PANIC_STACK 0xD68
#define __LC_PANIC_STACK 0xD68
#define __LC_CPUID 0xD80
#define __LC_CPUID 0xD80
#define __LC_IPLDEV 0xDB8
#define __LC_CURRENT 0xDD8
#define __LC_CURRENT 0xDD8
#define __LC_INT_CLOCK 0xDE8
#define __LC_INT_CLOCK 0xDE8
#define __LC_VDSO_PER_CPU 0xE38
#define __LC_VDSO_PER_CPU 0xE38
...
@@ -273,8 +271,7 @@ struct _lowcore
...
@@ -273,8 +271,7 @@ struct _lowcore
/* entry.S sensitive area start */
/* entry.S sensitive area start */
cpuid_t
cpu_id
;
/* 0xc60 */
cpuid_t
cpu_id
;
/* 0xc60 */
__u32
cpu_nr
;
/* 0xc68 */
__u32
cpu_nr
;
/* 0xc68 */
__u32
ipl_device
;
/* 0xc6c */
__u8
pad_0xc6c
[
0xc80
-
0xc6c
];
/* 0xc6c */
__u8
pad_0xc70
[
0xc80
-
0xc70
];
/* 0xc70 */
/* entry.S sensitive area end */
/* entry.S sensitive area end */
/* SMP info area: defined by DJB */
/* SMP info area: defined by DJB */
...
@@ -368,8 +365,7 @@ struct _lowcore
...
@@ -368,8 +365,7 @@ struct _lowcore
/* entry.S sensitive area start */
/* entry.S sensitive area start */
cpuid_t
cpu_id
;
/* 0xd80 */
cpuid_t
cpu_id
;
/* 0xd80 */
__u32
cpu_nr
;
/* 0xd88 */
__u32
cpu_nr
;
/* 0xd88 */
__u32
ipl_device
;
/* 0xd8c */
__u8
pad_0xd8c
[
0xdc0
-
0xd8c
];
/* 0xd8c */
__u8
pad_0xd90
[
0xdc0
-
0xd90
];
/* 0xd90 */
/* entry.S sensitive area end */
/* entry.S sensitive area end */
/* SMP info area: defined by DJB */
/* SMP info area: defined by DJB */
...
...
arch/s390/kernel/head31.S
View file @
da292bbe
...
@@ -20,7 +20,6 @@ startup_continue:
...
@@ -20,7 +20,6 @@ startup_continue:
lctl
%
c0
,%
c15
,
.
Lctl
-
.
LPG1
(%
r13
)
#
load
control
registers
lctl
%
c0
,%
c15
,
.
Lctl
-
.
LPG1
(%
r13
)
#
load
control
registers
l
%
r12
,
.
Lparmaddr
-
.
LPG1
(%
r13
)
#
pointer
to
parameter
area
l
%
r12
,
.
Lparmaddr
-
.
LPG1
(%
r13
)
#
pointer
to
parameter
area
#
move
IPL
device
to
lowcore
#
move
IPL
device
to
lowcore
mvc
__LC_IPLDEV
(
4
),
IPL_DEVICE
-
PARMAREA
(%
r12
)
#
#
#
Setup
stack
#
Setup
stack
#
#
...
...
arch/s390/kernel/head64.S
View file @
da292bbe
...
@@ -86,7 +86,6 @@ startup_continue:
...
@@ -86,7 +86,6 @@ startup_continue:
lctlg
%
c0
,%
c15
,
.
Lctl
-
.
LPG1
(%
r13
)
#
load
control
registers
lctlg
%
c0
,%
c15
,
.
Lctl
-
.
LPG1
(%
r13
)
#
load
control
registers
lg
%
r12
,
.
Lparmaddr
-
.
LPG1
(%
r13
)
#
pointer
to
parameter
area
lg
%
r12
,
.
Lparmaddr
-
.
LPG1
(%
r13
)
#
pointer
to
parameter
area
#
move
IPL
device
to
lowcore
#
move
IPL
device
to
lowcore
mvc
__LC_IPLDEV
(
4
),
IPL_DEVICE
+
4
-
PARMAREA
(%
r12
)
lghi
%
r0
,
__LC_PASTE
lghi
%
r0
,
__LC_PASTE
stg
%
r0
,
__LC_VDSO_PER_CPU
stg
%
r0
,
__LC_VDSO_PER_CPU
#
#
...
...
arch/s390/kernel/setup.c
View file @
da292bbe
...
@@ -419,7 +419,6 @@ setup_lowcore(void)
...
@@ -419,7 +419,6 @@ setup_lowcore(void)
PSW_ADDR_AMODE
|
(
unsigned
long
)
mcck_int_handler
;
PSW_ADDR_AMODE
|
(
unsigned
long
)
mcck_int_handler
;
lc
->
io_new_psw
.
mask
=
psw_kernel_bits
;
lc
->
io_new_psw
.
mask
=
psw_kernel_bits
;
lc
->
io_new_psw
.
addr
=
PSW_ADDR_AMODE
|
(
unsigned
long
)
io_int_handler
;
lc
->
io_new_psw
.
addr
=
PSW_ADDR_AMODE
|
(
unsigned
long
)
io_int_handler
;
lc
->
ipl_device
=
S390_lowcore
.
ipl_device
;
lc
->
clock_comparator
=
-
1ULL
;
lc
->
clock_comparator
=
-
1ULL
;
lc
->
kernel_stack
=
((
unsigned
long
)
&
init_thread_union
)
+
THREAD_SIZE
;
lc
->
kernel_stack
=
((
unsigned
long
)
&
init_thread_union
)
+
THREAD_SIZE
;
lc
->
async_stack
=
(
unsigned
long
)
lc
->
async_stack
=
(
unsigned
long
)
...
...
arch/s390/kernel/smp.c
View file @
da292bbe
...
@@ -566,7 +566,6 @@ int __cpuinit __cpu_up(unsigned int cpu)
...
@@ -566,7 +566,6 @@ int __cpuinit __cpu_up(unsigned int cpu)
cpu_lowcore
->
current_task
=
(
unsigned
long
)
idle
;
cpu_lowcore
->
current_task
=
(
unsigned
long
)
idle
;
cpu_lowcore
->
cpu_nr
=
cpu
;
cpu_lowcore
->
cpu_nr
=
cpu
;
cpu_lowcore
->
kernel_asce
=
S390_lowcore
.
kernel_asce
;
cpu_lowcore
->
kernel_asce
=
S390_lowcore
.
kernel_asce
;
cpu_lowcore
->
ipl_device
=
S390_lowcore
.
ipl_device
;
eieio
();
eieio
();
while
(
signal_processor
(
cpu
,
sigp_restart
)
==
sigp_busy
)
while
(
signal_processor
(
cpu
,
sigp_restart
)
==
sigp_busy
)
...
...
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