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
19ae2242
Commit
19ae2242
authored
Dec 21, 2003
by
Keith M. Wesolowski
Committed by
David S. Miller
Dec 21, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[sparc] Fix display errors on HIGHMEM and Zilog addresses.
parent
2af01b24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletion
+6
-1
arch/sparc/mm/init.c
arch/sparc/mm/init.c
+2
-1
drivers/serial/sunzilog.c
drivers/serial/sunzilog.c
+4
-0
No files found.
arch/sparc/mm/init.c
View file @
19ae2242
...
...
@@ -209,7 +209,8 @@ unsigned long __init bootmem_init(unsigned long *pages_avail)
if
(
max_low_pfn
>
(
SRMMU_MAXMEM
>>
PAGE_SHIFT
))
{
highstart_pfn
=
(
SRMMU_MAXMEM
>>
PAGE_SHIFT
);
max_low_pfn
=
calc_max_low_pfn
();
printk
(
KERN_NOTICE
"%ldMB HIGHMEM available.
\n
"
,
calc_highpages
());
printk
(
KERN_NOTICE
"%ldMB HIGHMEM available.
\n
"
,
calc_highpages
()
>>
(
20
-
PAGE_SHIFT
));
}
#ifdef CONFIG_BLK_DEV_INITRD
...
...
drivers/serial/sunzilog.c
View file @
19ae2242
...
...
@@ -1522,6 +1522,10 @@ static void __init sunzilog_prepare(void)
up
[(
chip
*
2
)
+
0
].
port
.
membase
=
(
char
*
)
&
rp
->
channelA
;
up
[(
chip
*
2
)
+
1
].
port
.
membase
=
(
char
*
)
&
rp
->
channelB
;
/* These do nothing but make the boot output sensible */
up
[(
chip
*
2
)
+
0
].
port
.
mapbase
=
(
unsigned
long
)
&
rp
->
channelA
;
up
[(
chip
*
2
)
+
1
].
port
.
mapbase
=
(
unsigned
long
)
&
rp
->
channelB
;
/* Channel A */
up
[(
chip
*
2
)
+
0
].
port
.
iotype
=
SERIAL_IO_MEM
;
up
[(
chip
*
2
)
+
0
].
port
.
irq
=
zilog_irq
;
...
...
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