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
220cf2d8
Commit
220cf2d8
authored
May 31, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://bk.arm.linux.org.uk/linux-2.6-rmk
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
8049c664
ff1457fc
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
9 deletions
+14
-9
arch/arm/mach-clps711x/clep7312.c
arch/arm/mach-clps711x/clep7312.c
+0
-1
arch/arm/mach-clps711x/fortunet.c
arch/arm/mach-clps711x/fortunet.c
+12
-5
arch/arm/mm/init.c
arch/arm/mm/init.c
+2
-2
include/asm-arm/setup.h
include/asm-arm/setup.h
+0
-1
No files found.
arch/arm/mach-clps711x/clep7312.c
View file @
220cf2d8
...
...
@@ -31,7 +31,6 @@ fixup_clep7312(struct machine_desc *desc, struct tag *tags,
char
**
cmdline
,
struct
meminfo
*
mi
)
{
mi
->
nr_banks
=
1
;
mi
->
end
=
0xc0FFFFFF
;
mi
->
bank
[
0
].
start
=
0xc0000000
;
mi
->
bank
[
0
].
size
=
0x01000000
;
mi
->
bank
[
0
].
node
=
0
;
...
...
arch/arm/mach-clps711x/fortunet.c
View file @
220cf2d8
...
...
@@ -34,7 +34,16 @@
extern
void
clps711x_map_io
(
void
);
extern
void
clps711x_init_irq
(
void
);
struct
meminfo
memmap
=
{
1
,
0xC1000000
,
{{
0xC0000000
,
0x01000000
,
0
}}};
struct
meminfo
memmap
=
{
.
nr_banks
=
1
,
.
bank
=
{
{
.
start
=
0xC0000000
,
.
size
=
0x01000000
,
.
node
=
0
},
},
};
typedef
struct
tag_IMAGE_PARAMS
{
...
...
@@ -53,9 +62,8 @@ static void __init
fortunet_fixup
(
struct
machine_desc
*
desc
,
struct
tag
*
tags
,
char
**
cmdline
,
struct
meminfo
*
mi
)
{
IMAGE_PARAMS
*
ip
;
ip
=
(
IMAGE_PARAMS
*
)
__phys_to_virt
(
IMAGE_PARAMS_PHYS
);
*
cmdline
=
(
char
*
)
__phys_to_virt
(
ip
->
command_line
);
IMAGE_PARAMS
*
ip
=
phys_to_virt
(
IMAGE_PARAMS_PHYS
);
*
cmdline
=
phys_to_virt
(
ip
->
command_line
);
#ifdef CONFIG_BLK_DEV_INITRD
if
(
ip
->
ramdisk_ok
)
{
...
...
@@ -64,7 +72,6 @@ fortunet_fixup(struct machine_desc *desc, struct tag *tags,
}
#endif
memmap
.
bank
[
0
].
size
=
ip
->
ram_size
;
memmap
.
end
=
ip
->
ram_size
+
0xC0000000
;
*
mi
=
memmap
;
}
...
...
arch/arm/mm/init.c
View file @
220cf2d8
...
...
@@ -225,6 +225,8 @@ find_memend_and_nodes(struct meminfo *mi, struct node_info *np)
bootmem_pages
+=
np
[
i
].
bootmap_pages
;
}
high_memory
=
__va
(
memend_pfn
<<
PAGE_SHIFT
);
/*
* This doesn't seem to be used by the Linux memory
* manager any more. If we can get rid of it, we
...
...
@@ -232,7 +234,6 @@ find_memend_and_nodes(struct meminfo *mi, struct node_info *np)
*/
max_low_pfn
=
memend_pfn
-
O_PFN_DOWN
(
PHYS_OFFSET
);
max_pfn
=
memend_pfn
-
O_PFN_DOWN
(
PHYS_OFFSET
);
mi
->
end
=
memend_pfn
<<
PAGE_SHIFT
;
return
bootmem_pages
;
}
...
...
@@ -546,7 +547,6 @@ void __init mem_init(void)
datapages
=
&
_end
-
&
_etext
;
initpages
=
&
__init_end
-
&
__init_begin
;
high_memory
=
(
void
*
)
__va
(
meminfo
.
end
);
#ifndef CONFIG_DISCONTIGMEM
max_mapnr
=
virt_to_page
(
high_memory
)
-
mem_map
;
#endif
...
...
include/asm-arm/setup.h
View file @
220cf2d8
...
...
@@ -196,7 +196,6 @@ static struct tagtable __tagtable_##fn __tag = { tag, fn }
struct
meminfo
{
int
nr_banks
;
unsigned
long
end
;
struct
{
unsigned
long
start
;
unsigned
long
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