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
e540dbf8
Commit
e540dbf8
authored
Nov 17, 2002
by
Martin Schwidefsky
Committed by
Linus Torvalds
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] s390: warnings.
Remove some warnings.
parent
49bdf267
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
11 deletions
+6
-11
arch/s390/kernel/smp.c
arch/s390/kernel/smp.c
+4
-7
arch/s390/kernel/time.c
arch/s390/kernel/time.c
+0
-1
arch/s390/mm/init.c
arch/s390/mm/init.c
+1
-1
arch/s390x/kernel/time.c
arch/s390x/kernel/time.c
+0
-1
include/asm-s390/lowcore.h
include/asm-s390/lowcore.h
+1
-1
No files found.
arch/s390/kernel/smp.c
View file @
e540dbf8
...
...
@@ -274,7 +274,7 @@ void machine_power_off_smp(void)
void
do_ext_call_interrupt
(
struct
pt_regs
*
regs
,
__u16
code
)
{
int
bits
;
unsigned
long
bits
;
/*
* handle bit signal external calls
...
...
@@ -282,9 +282,7 @@ void do_ext_call_interrupt(struct pt_regs *regs, __u16 code)
* For the ec_schedule signal we have to do nothing. All the work
* is done automatically when we return from the interrupt.
*/
do
{
bits
=
atomic_read
(
&
S390_lowcore
.
ext_call_fast
);
}
while
(
atomic_compare_and_swap
(
bits
,
0
,
&
S390_lowcore
.
ext_call_fast
));
bits
=
xchg
(
&
S390_lowcore
.
ext_call_fast
,
0
);
if
(
test_bit
(
ec_call_function
,
&
bits
))
do_call_function
();
...
...
@@ -296,13 +294,12 @@ void do_ext_call_interrupt(struct pt_regs *regs, __u16 code)
*/
static
sigp_ccode
smp_ext_bitcall
(
int
cpu
,
ec_bit_sig
sig
)
{
struct
_lowcore
*
lowcore
=
lowcore_ptr
[
cpu
];
sigp_ccode
ccode
;
/*
* Set signaling bit in lowcore of target cpu and kick it
*/
atomic_set_mask
(
1
<<
sig
,
&
lowcore
->
ext_call_fast
);
set_bit
(
sig
,
(
unsigned
long
*
)
&
lowcore_ptr
[
cpu
]
->
ext_call_fast
);
ccode
=
signal_processor
(
cpu
,
sigp_external_call
);
return
ccode
;
}
...
...
@@ -323,7 +320,7 @@ static void smp_ext_bitcall_others(ec_bit_sig sig)
/*
* Set signaling bit in lowcore of target cpu and kick it
*/
atomic_set_mask
(
1
<<
sig
,
&
lowcore
->
ext_call_fast
);
set_bit
(
sig
,
(
unsigned
long
*
)
&
lowcore_ptr
[
i
]
->
ext_call_fast
);
while
(
signal_processor
(
i
,
sigp_external_call
)
==
sigp_busy
)
udelay
(
10
);
}
...
...
arch/s390/kernel/time.c
View file @
e540dbf8
...
...
@@ -140,7 +140,6 @@ static inline __u32 div64_32(__u64 dividend, __u32 divisor)
*/
static
void
do_comparator_interrupt
(
struct
pt_regs
*
regs
,
__u16
error_code
)
{
int
cpu
=
smp_processor_id
();
__u64
tmp
;
__u32
ticks
;
...
...
arch/s390/mm/init.c
View file @
e540dbf8
...
...
@@ -188,7 +188,7 @@ void free_initmem(void)
free_page
(
addr
);
totalram_pages
++
;
}
printk
(
"Freeing unused kernel memory: %dk freed
\n
"
,
printk
(
"Freeing unused kernel memory: %
l
dk freed
\n
"
,
((
unsigned
long
)
&
__init_end
-
(
unsigned
long
)
&
__init_begin
)
>>
10
);
}
...
...
arch/s390x/kernel/time.c
View file @
e540dbf8
...
...
@@ -126,7 +126,6 @@ void do_settimeofday(struct timeval *tv)
*/
static
void
do_comparator_interrupt
(
struct
pt_regs
*
regs
,
__u16
error_code
)
{
int
cpu
=
smp_processor_id
();
__u64
tmp
;
__u32
ticks
;
...
...
include/asm-s390/lowcore.h
View file @
e540dbf8
...
...
@@ -136,7 +136,7 @@ struct _lowcore
/* SMP info area: defined by DJB */
__u64
jiffy_timer
;
/* 0xc80 */
atomic_t
ext_call_fast
;
/* 0xc88 */
__u32
ext_call_fast
;
/* 0xc88 */
__u8
pad11
[
0xe00
-
0xc8c
];
/* 0xc8c */
/* 0xe00 is used as indicator for dump tools */
...
...
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