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
14516324
Commit
14516324
authored
Nov 03, 2002
by
Richard Henderson
Committed by
Richard Henderson
Nov 03, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up Alpha for initramfs changes.
parent
2e95d1fa
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
7 deletions
+14
-7
arch/alpha/Makefile
arch/alpha/Makefile
+1
-0
arch/alpha/vmlinux.lds.S
arch/alpha/vmlinux.lds.S
+6
-0
include/asm-alpha/unistd.h
include/asm-alpha/unistd.h
+6
-6
init/initramfs.c
init/initramfs.c
+1
-1
No files found.
arch/alpha/Makefile
View file @
14516324
...
...
@@ -12,6 +12,7 @@ NM := $(NM) -B
LDFLAGS_vmlinux
=
-static
-N
#-relax
CFLAGS
:=
$(CFLAGS)
-pipe
-mno-fp-regs
-ffixed-8
ARCHBLOBLFLAGS
:=
-I
binary
-O
elf64-alpha
-B
alpha
# Determine if we can use the BWX instructions with GAS.
old_gas
:=
$(
shell
if
$(AS)
--version
2>&1 |
grep
'version 2.7'
>
/dev/null
;
then
echo
y
;
else
echo
n
;
fi
)
...
...
arch/alpha/vmlinux.lds.S
View file @
14516324
...
...
@@ -67,6 +67,12 @@ SECTIONS
__initcall_end
=
.
;
}
.
init.ramfs
ALIGN
(
8192
)
:
{
__initramfs_start
=
.
;
*(.
init.initramfs
)
__initramfs_end
=
.
;
}
.
data.percpu
ALIGN
(
64
)
:
{
__per_cpu_start
=
.
;
*(.
data.percpu
)
...
...
include/asm-alpha/unistd.h
View file @
14516324
...
...
@@ -552,9 +552,9 @@ static inline long close(int fd)
}
extern
off_t
sys_lseek
(
int
,
off_t
,
int
);
static
inline
off_t
lseek
(
int
fd
,
off_t
off
,
int
when
s
e
)
static
inline
off_t
lseek
(
int
fd
,
off_t
off
,
int
when
c
e
)
{
return
sys_lseek
(
fd
,
off
,
when
s
e
);
return
sys_lseek
(
fd
,
off
,
when
c
e
);
}
extern
long
sys_exit
(
int
);
...
...
@@ -565,14 +565,14 @@ static inline long _exit(int value)
#define exit(x) _exit(x)
extern
long
sys_write
(
int
,
const
char
*
,
in
t
);
static
inline
long
write
(
int
fd
,
const
char
*
buf
,
in
t
nr
)
extern
long
sys_write
(
int
,
const
char
*
,
size_
t
);
static
inline
long
write
(
int
fd
,
const
char
*
buf
,
size_
t
nr
)
{
return
sys_write
(
fd
,
buf
,
nr
);
}
extern
long
sys_read
(
int
,
char
*
,
in
t
);
static
inline
long
read
(
int
fd
,
char
*
buf
,
in
t
nr
)
extern
long
sys_read
(
int
,
char
*
,
size_
t
);
static
inline
long
read
(
int
fd
,
char
*
buf
,
size_
t
nr
)
{
return
sys_read
(
fd
,
buf
,
nr
);
}
...
...
init/initramfs.c
View file @
14516324
...
...
@@ -26,7 +26,7 @@ asmlinkage long sys_mkdir(char *name, int mode);
asmlinkage
long
sys_mknod
(
char
*
name
,
int
mode
,
dev_t
dev
);
asmlinkage
long
sys_symlink
(
char
*
old
,
char
*
new
);
asmlinkage
long
sys_link
(
char
*
old
,
char
*
new
);
asmlinkage
long
sys_write
(
int
fd
,
void
*
buf
,
s
size_t
size
);
asmlinkage
long
sys_write
(
int
fd
,
const
char
*
buf
,
size_t
size
);
asmlinkage
long
sys_chown
(
char
*
name
,
uid_t
uid
,
gid_t
gid
);
asmlinkage
long
sys_lchown
(
char
*
name
,
uid_t
uid
,
gid_t
gid
);
asmlinkage
long
sys_fchown
(
int
fd
,
uid_t
uid
,
gid_t
gid
);
...
...
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