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
995b3b68
Commit
995b3b68
authored
Sep 07, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Fix things so that they compile with the latest GCC 3.4, which optimize
away static variables with no compiler-visible use.
parent
2232bd55
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
13 deletions
+11
-13
arch/ia64/hp/sim/boot/boot_head.S
arch/ia64/hp/sim/boot/boot_head.S
+8
-0
arch/ia64/hp/sim/boot/bootloader.c
arch/ia64/hp/sim/boot/bootloader.c
+1
-9
arch/ia64/kernel/init_task.c
arch/ia64/kernel/init_task.c
+2
-4
No files found.
arch/ia64/hp/sim/boot/boot_head.S
View file @
995b3b68
...
...
@@ -27,6 +27,14 @@ GLOBAL_ENTRY(_start)
br.call.sptk.many
rp
=
start_bootloader
END
(
_start
)
/*
*
Set
a
break
point
on
this
function
so
that
symbols
are
available
to
set
breakpoints
in
*
the
kernel
being
debugged
.
*/
GLOBAL_ENTRY
(
debug_break
)
br.ret.sptk.many
b0
END
(
debug_break
)
GLOBAL_ENTRY
(
ssc
)
.
regstk
5
,
0
,
0
,
0
mov
r15
=
in4
...
...
arch/ia64/hp/sim/boot/bootloader.c
View file @
995b3b68
...
...
@@ -37,15 +37,7 @@ struct disk_stat {
extern
void
jmp_to_kernel
(
unsigned
long
bp
,
unsigned
long
e_entry
);
extern
struct
ia64_boot_param
*
sys_fw_init
(
const
char
*
args
,
int
arglen
);
/*
* Set a break point on this function so that symbols are available to set breakpoints in
* the kernel being debugged.
*/
static
void
debug_break
(
void
)
{
}
extern
void
debug_break
(
void
);
static
void
cons_write
(
const
char
*
buf
)
...
...
arch/ia64/kernel/init_task.c
View file @
995b3b68
...
...
@@ -28,15 +28,13 @@ struct mm_struct init_mm = INIT_MM(init_mm);
*/
#define init_thread_info init_task_mem.s.thread_info
static
union
{
union
{
struct
{
struct
task_struct
task
;
struct
thread_info
thread_info
;
}
s
;
unsigned
long
stack
[
KERNEL_STACK_SIZE
/
sizeof
(
unsigned
long
)];
}
init_task_mem
asm
(
"init_task
_mem
"
)
__attribute__
((
section
(
".data.init_task"
)))
=
{{
}
init_task_mem
asm
(
"init_task"
)
__attribute__
((
section
(
".data.init_task"
)))
=
{{
.
task
=
INIT_TASK
(
init_task_mem
.
s
.
task
),
.
thread_info
=
INIT_THREAD_INFO
(
init_task_mem
.
s
.
task
)
}};
extern
struct
task_struct
init_task
__attribute__
((
alias
(
"init_task_mem"
)));
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