Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci-2.6.23
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci-2.6.23
Commits
a0c3a5b5
Commit
a0c3a5b5
authored
Jul 14, 2005
by
Ralf Baechle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Prevent gcc from optimizing a few functions away completly.
Signed-off-by:
Ralf Baechle
<
ralf@linux-mips.org
>
parent
8f40611d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
arch/mips/kernel/gdb-stub.c
arch/mips/kernel/gdb-stub.c
+2
-2
No files found.
arch/mips/kernel/gdb-stub.c
View file @
a0c3a5b5
...
@@ -1039,12 +1039,12 @@ void adel(void)
...
@@ -1039,12 +1039,12 @@ void adel(void)
* malloc is needed by gdb client in "call func()", even a private one
* malloc is needed by gdb client in "call func()", even a private one
* will make gdb happy
* will make gdb happy
*/
*/
static
void
*
malloc
(
size_t
size
)
static
void
*
__attribute_used__
malloc
(
size_t
size
)
{
{
return
kmalloc
(
size
,
GFP_ATOMIC
);
return
kmalloc
(
size
,
GFP_ATOMIC
);
}
}
static
void
free
(
void
*
where
)
static
void
__attribute_used__
free
(
void
*
where
)
{
{
kfree
(
where
);
kfree
(
where
);
}
}
...
...
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