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
9a72f9d6
Commit
9a72f9d6
authored
Mar 10, 2003
by
Jens Axboe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] Fix x86-64 build
parent
35f82b30
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
arch/x86_64/ia32/Makefile
arch/x86_64/ia32/Makefile
+1
-1
include/asm-x86_64/uaccess.h
include/asm-x86_64/uaccess.h
+3
-3
No files found.
arch/x86_64/ia32/Makefile
View file @
9a72f9d6
...
@@ -3,5 +3,5 @@
...
@@ -3,5 +3,5 @@
#
#
obj-$(CONFIG_IA32_EMULATION)
:=
ia32entry.o sys_ia32.o ia32_ioctl.o
\
obj-$(CONFIG_IA32_EMULATION)
:=
ia32entry.o sys_ia32.o ia32_ioctl.o
\
ia32_signal.o
\
ia32_signal.o
tls32.o
\
ia32_binfmt.o fpu32.o ptrace32.o ipc32.o syscall32.o
ia32_binfmt.o fpu32.o ptrace32.o ipc32.o syscall32.o
include/asm-x86_64/uaccess.h
View file @
9a72f9d6
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
#define access_ok(type,addr,size) (__range_not_ok(addr,size) == 0)
#define access_ok(type,addr,size) (__range_not_ok(addr,size) == 0)
extern
__force_
inline
int
verify_area
(
int
type
,
const
void
*
addr
,
unsigned
long
size
)
extern
inline
int
verify_area
(
int
type
,
const
void
*
addr
,
unsigned
long
size
)
{
{
return
access_ok
(
type
,
addr
,
size
)
?
0
:
-
EFAULT
;
return
access_ok
(
type
,
addr
,
size
)
?
0
:
-
EFAULT
;
}
}
...
@@ -238,7 +238,7 @@ extern unsigned long copy_user_generic(void *to, const void *from, unsigned len)
...
@@ -238,7 +238,7 @@ extern unsigned long copy_user_generic(void *to, const void *from, unsigned len)
extern
unsigned
long
copy_to_user
(
void
*
to
,
const
void
*
from
,
unsigned
len
);
extern
unsigned
long
copy_to_user
(
void
*
to
,
const
void
*
from
,
unsigned
len
);
extern
unsigned
long
copy_from_user
(
void
*
to
,
const
void
*
from
,
unsigned
len
);
extern
unsigned
long
copy_from_user
(
void
*
to
,
const
void
*
from
,
unsigned
len
);
static
__force_
inline
int
__copy_from_user
(
void
*
dst
,
const
void
*
src
,
unsigned
size
)
static
inline
int
__copy_from_user
(
void
*
dst
,
const
void
*
src
,
unsigned
size
)
{
{
if
(
!
__builtin_constant_p
(
size
))
if
(
!
__builtin_constant_p
(
size
))
return
copy_user_generic
(
dst
,
src
,
size
);
return
copy_user_generic
(
dst
,
src
,
size
);
...
@@ -267,7 +267,7 @@ static __force_inline int __copy_from_user(void *dst, const void *src, unsigned
...
@@ -267,7 +267,7 @@ static __force_inline int __copy_from_user(void *dst, const void *src, unsigned
}
}
}
}
static
__force_
inline
int
__copy_to_user
(
void
*
dst
,
const
void
*
src
,
unsigned
size
)
static
inline
int
__copy_to_user
(
void
*
dst
,
const
void
*
src
,
unsigned
size
)
{
{
if
(
!
__builtin_constant_p
(
size
))
if
(
!
__builtin_constant_p
(
size
))
return
copy_user_generic
(
dst
,
src
,
size
);
return
copy_user_generic
(
dst
,
src
,
size
);
...
...
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