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
a2a92516
Commit
a2a92516
authored
Jun 15, 2003
by
Anton Blanchard
Browse files
Options
Browse Files
Download
Plain Diff
Merge samba.org:/scratch/anton/tmp3
into samba.org:/scratch/anton/linux-2.5_ppc64
parents
788ec66a
991eb637
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
13 deletions
+16
-13
arch/ppc64/boot/zlib.c
arch/ppc64/boot/zlib.c
+15
-12
arch/ppc64/lib/copyuser.S
arch/ppc64/lib/copyuser.S
+1
-1
No files found.
arch/ppc64/boot/zlib.c
View file @
a2a92516
...
@@ -1545,10 +1545,11 @@ local inflate_huft *fixed_tl;
...
@@ -1545,10 +1545,11 @@ local inflate_huft *fixed_tl;
local
inflate_huft
*
fixed_td
;
local
inflate_huft
*
fixed_td
;
local
voidpf
falloc
(
q
,
n
,
s
)
local
voidpf
falloc
(
voidpf
q
;
/* opaque pointer (not used) */
voidpf
q
,
/* opaque pointer (not used) */
uInt
n
;
/* number of items */
uInt
n
,
/* number of items */
uInt
s
;
/* size of item */
uInt
s
/* size of item */
)
{
{
Assert
(
s
==
sizeof
(
inflate_huft
)
&&
n
<=
fixed_left
,
Assert
(
s
==
sizeof
(
inflate_huft
)
&&
n
<=
fixed_left
,
"inflate_trees falloc overflow"
);
"inflate_trees falloc overflow"
);
...
@@ -1558,10 +1559,11 @@ uInt s; /* size of item */
...
@@ -1558,10 +1559,11 @@ uInt s; /* size of item */
}
}
local
void
ffree
(
q
,
p
,
n
)
local
void
ffree
(
voidpf
q
;
voidpf
q
,
voidpf
p
;
voidpf
p
,
uInt
n
;
uInt
n
)
{
{
Assert
(
0
,
"inflate_trees ffree called!"
);
Assert
(
0
,
"inflate_trees ffree called!"
);
if
(
q
)
q
=
p
;
/* to make some compilers happy */
if
(
q
)
q
=
p
;
/* to make some compilers happy */
...
@@ -2164,10 +2166,11 @@ char *z_errmsg[] = {
...
@@ -2164,10 +2166,11 @@ char *z_errmsg[] = {
#define DO16(buf) DO8(buf); DO8(buf);
#define DO16(buf) DO8(buf); DO8(buf);
/* ========================================================================= */
/* ========================================================================= */
uLong
adler32
(
adler
,
buf
,
len
)
uLong
adler32
(
uLong
adler
;
uLong
adler
,
Bytef
*
buf
;
Bytef
*
buf
,
uInt
len
;
uInt
len
)
{
{
unsigned
long
s1
=
adler
&
0xffff
;
unsigned
long
s1
=
adler
&
0xffff
;
unsigned
long
s2
=
(
adler
>>
16
)
&
0xffff
;
unsigned
long
s2
=
(
adler
>>
16
)
&
0xffff
;
...
...
arch/ppc64/lib/copyuser.S
View file @
a2a92516
...
@@ -130,7 +130,7 @@ _GLOBAL(__copy_tofrom_user)
...
@@ -130,7 +130,7 @@ _GLOBAL(__copy_tofrom_user)
6
:
cmpwi
cr1
,
r5
,
8
6
:
cmpwi
cr1
,
r5
,
8
addi
r3
,
r3
,
32
addi
r3
,
r3
,
32
sld
r9
,
r9
,
r10
sld
r9
,
r9
,
r10
bl
t
cr1
,
.
Ldo_tail
bl
e
cr1
,
.
Ldo_tail
34
:
ld
r0
,
8
(
r4
)
34
:
ld
r0
,
8
(
r4
)
srd
r7
,
r0
,
r11
srd
r7
,
r0
,
r11
or
r9
,
r7
,
r9
or
r9
,
r7
,
r9
...
...
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