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
36d827d1
Commit
36d827d1
authored
Nov 17, 2002
by
Martin Schwidefsky
Committed by
Linus Torvalds
Nov 17, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] s390: ebcdic conversion bug.
Fix ebcdic conversion for strings of n*256 + 1 characters.
parent
0d260ed9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
include/asm-s390/ebcdic.h
include/asm-s390/ebcdic.h
+1
-1
include/asm-s390x/ebcdic.h
include/asm-s390x/ebcdic.h
+1
-1
No files found.
include/asm-s390/ebcdic.h
View file @
36d827d1
...
...
@@ -32,7 +32,7 @@ void codepage_convert(const __u8 *codepage, volatile __u8 * addr, int nr)
"0: tr 0(256,%0),0(%2)
\n
"
" la %0,256(%0)
\n
"
"1: ahi %1,-256
\n
"
" j
p
0b
\n
"
" j
nm
0b
\n
"
" ex %1,0(1)"
:
"+&a"
(
addr
),
"+&a"
(
nr
)
:
"a"
(
codepage
)
:
"cc"
,
"memory"
,
"1"
);
...
...
include/asm-s390x/ebcdic.h
View file @
36d827d1
...
...
@@ -32,7 +32,7 @@ codepage_convert(const __u8 *codepage, volatile __u8 * addr, unsigned long nr)
"0: tr 0(256,%0),0(%2)
\n
"
" la %0,256(%0)
\n
"
"1: ahi %1,-256
\n
"
" j
p
0b
\n
"
" j
nm
0b
\n
"
" ex %1,0(1)"
:
"+&a"
(
addr
),
"+&a"
(
nr
)
:
"a"
(
codepage
)
:
"cc"
,
"memory"
,
"1"
);
...
...
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