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
064a6269
Commit
064a6269
authored
Oct 31, 2013
by
Vineet Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ARC: use __weak instead of __attribute__((weak))
Signed-off-by:
Vineet Gupta
<
vgupta@synopsys.com
>
parent
8e457d6a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
arch/arc/kernel/smp.c
arch/arc/kernel/smp.c
+1
-1
arch/arc/kernel/time.c
arch/arc/kernel/time.c
+1
-1
No files found.
arch/arc/kernel/smp.c
View file @
064a6269
...
@@ -95,7 +95,7 @@ void __init smp_cpus_done(unsigned int max_cpus)
...
@@ -95,7 +95,7 @@ void __init smp_cpus_done(unsigned int max_cpus)
* If it turns out to be elaborate, it's better to code it in assembly
* If it turns out to be elaborate, it's better to code it in assembly
*
*
*/
*/
void
__
attribute__
((
weak
))
arc_platform_smp_wait_to_boot
(
int
cpu
)
void
__
weak
arc_platform_smp_wait_to_boot
(
int
cpu
)
{
{
/*
/*
* As a hack for debugging - since debugger will single-step over the
* As a hack for debugging - since debugger will single-step over the
...
...
arch/arc/kernel/time.c
View file @
064a6269
...
@@ -223,7 +223,7 @@ static struct irqaction arc_timer_irq = {
...
@@ -223,7 +223,7 @@ static struct irqaction arc_timer_irq = {
* Setup the local event timer for @cpu
* Setup the local event timer for @cpu
* N.B. weak so that some exotic ARC SoCs can completely override it
* N.B. weak so that some exotic ARC SoCs can completely override it
*/
*/
void
__
attribute__
((
weak
))
arc_local_timer_setup
(
unsigned
int
cpu
)
void
__
weak
arc_local_timer_setup
(
unsigned
int
cpu
)
{
{
struct
clock_event_device
*
clk
=
&
per_cpu
(
arc_clockevent_device
,
cpu
);
struct
clock_event_device
*
clk
=
&
per_cpu
(
arc_clockevent_device
,
cpu
);
...
...
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