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
fa872b34
Commit
fa872b34
authored
Oct 20, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Fix IA-32 NPTL fixes so things compile again.
parent
d25e93e6
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
arch/ia64/ia32/binfmt_elf32.c
arch/ia64/ia32/binfmt_elf32.c
+1
-1
arch/ia64/ia32/ia32priv.h
arch/ia64/ia32/ia32priv.h
+4
-4
No files found.
arch/ia64/ia32/binfmt_elf32.c
View file @
fa872b34
...
@@ -63,7 +63,7 @@ struct page *
...
@@ -63,7 +63,7 @@ struct page *
ia32_install_shared_page
(
struct
vm_area_struct
*
vma
,
unsigned
long
address
,
int
no_share
)
ia32_install_shared_page
(
struct
vm_area_struct
*
vma
,
unsigned
long
address
,
int
no_share
)
{
{
# define NUM_SHARED_PAGES (PAGE_SIZE > IA32_PAGE_SIZE ? 1 : 2)
# define NUM_SHARED_PAGES (PAGE_SIZE > IA32_PAGE_SIZE ? 1 : 2)
struct
page
*
pg
=
ia32_shared_page
[
NUM_SHARED_
_
PAGES
*
smp_processor_id
()
struct
page
*
pg
=
ia32_shared_page
[
NUM_SHARED_PAGES
*
smp_processor_id
()
+
(
address
-
vma
->
vm_start
)
/
PAGE_SIZE
];
+
(
address
-
vma
->
vm_start
)
/
PAGE_SIZE
];
get_page
(
pg
);
get_page
(
pg
);
...
...
arch/ia64/ia32/ia32priv.h
View file @
fa872b34
...
@@ -457,11 +457,11 @@ void ia64_elf32_init(struct pt_regs *regs);
...
@@ -457,11 +457,11 @@ void ia64_elf32_init(struct pt_regs *regs);
static
inline
void
static
inline
void
load_TLS
(
struct
thread_struct
*
t
,
unsigned
int
cpu
)
load_TLS
(
struct
thread_struct
*
t
,
unsigned
int
cpu
)
{
{
extern
struct
desc_struct
*
cpu_gdt_table
[
NR_CPUS
];
extern
unsigned
long
*
cpu_gdt_table
[
NR_CPUS
];
cpu_gdt_table
[
cpu
][
GDT_ENTRY_TLS_MIN
+
0
]
=
t
->
tls_array
[
0
]
;
memcpy
(
cpu_gdt_table
[
cpu
]
+
GDT_ENTRY_TLS_MIN
+
0
,
&
t
->
tls_array
[
0
],
sizeof
(
long
))
;
cpu_gdt_table
[
cpu
][
GDT_ENTRY_TLS_MIN
+
1
]
=
t
->
tls_array
[
1
]
;
memcpy
(
cpu_gdt_table
[
cpu
]
+
GDT_ENTRY_TLS_MIN
+
1
,
&
t
->
tls_array
[
1
],
sizeof
(
long
))
;
cpu_gdt_table
[
cpu
][
GDT_ENTRY_TLS_MIN
+
2
]
=
t
->
tls_array
[
2
]
;
memcpy
(
cpu_gdt_table
[
cpu
]
+
GDT_ENTRY_TLS_MIN
+
2
,
&
t
->
tls_array
[
2
],
sizeof
(
long
))
;
}
}
struct
ia32_user_desc
{
struct
ia32_user_desc
{
...
...
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