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
d6e0bec1
Commit
d6e0bec1
authored
Mar 11, 2002
by
Peter Chubb
Committed by
David Mosberger
Mar 11, 2002
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[PATCH] HP Sim config patch
Offer loopback driver and network block device support for HP Sim.
parent
5dca0cff
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
6 deletions
+17
-6
arch/ia64/config.in
arch/ia64/config.in
+11
-0
arch/ia64/lib/clear_page.S
arch/ia64/lib/clear_page.S
+1
-1
arch/ia64/mm/init.c
arch/ia64/mm/init.c
+5
-5
No files found.
arch/ia64/config.in
View file @
d6e0bec1
...
@@ -136,6 +136,17 @@ else
...
@@ -136,6 +136,17 @@ else
fi
fi
endmenu
endmenu
else # ! HP_SIM
mainmenu_option next_comment
comment 'Block devices'
tristate 'Loopback device support' CONFIG_BLK_DEV_LOOP
dep_tristate 'Network block device support' CONFIG_BLK_DEV_NBD $CONFIG_NET
tristate 'RAM disk support' CONFIG_BLK_DEV_RAM
if [ "$CONFIG_BLK_DEV_RAM" = "y" -o "$CONFIG_BLK_DEV_RAM" = "m" ]; then
int ' Default RAM disk size' CONFIG_BLK_DEV_RAM_SIZE 4096
fi
endmenu
fi # !HP_SIM
fi # !HP_SIM
mainmenu_option next_comment
mainmenu_option next_comment
...
...
arch/ia64/lib/clear_page.S
View file @
d6e0bec1
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
# define PREFETCH_LINES 9 // magic number
# define PREFETCH_LINES 9 // magic number
#else
#else
# define L3_LINE_SIZE 128 // McKinley L3 line size
# define L3_LINE_SIZE 128 // McKinley L3 line size
# define PREFETCH_LINES
7
// magic number
# define PREFETCH_LINES
12
// magic number
#endif
#endif
#define saved_lc r2
#define saved_lc r2
...
...
arch/ia64/mm/init.c
View file @
d6e0bec1
...
@@ -103,12 +103,12 @@ free_initmem (void)
...
@@ -103,12 +103,12 @@ free_initmem (void)
free_page
(
addr
);
free_page
(
addr
);
++
totalram_pages
;
++
totalram_pages
;
}
}
printk
(
"Freeing unused kernel memory: %ldkB freed
\n
"
,
printk
(
KERN_INFO
"Freeing unused kernel memory: %ldkB freed
\n
"
,
(
&
__init_end
-
&
__init_begin
)
>>
10
);
(
&
__init_end
-
&
__init_begin
)
>>
10
);
}
}
void
void
free_initrd_mem
(
unsigned
long
start
,
unsigned
long
end
)
free_initrd_mem
(
unsigned
long
start
,
unsigned
long
end
)
{
{
/*
/*
* EFI uses 4KB pages while the kernel can use 4KB or bigger.
* EFI uses 4KB pages while the kernel can use 4KB or bigger.
...
@@ -145,7 +145,7 @@ free_initrd_mem(unsigned long start, unsigned long end)
...
@@ -145,7 +145,7 @@ free_initrd_mem(unsigned long start, unsigned long end)
end
=
end
&
PAGE_MASK
;
end
=
end
&
PAGE_MASK
;
if
(
start
<
end
)
if
(
start
<
end
)
printk
(
"Freeing initrd memory: %ldkB freed
\n
"
,
(
end
-
start
)
>>
10
);
printk
(
KERN_INFO
"Freeing initrd memory: %ldkB freed
\n
"
,
(
end
-
start
)
>>
10
);
for
(;
start
<
end
;
start
+=
PAGE_SIZE
)
{
for
(;
start
<
end
;
start
+=
PAGE_SIZE
)
{
if
(
!
VALID_PAGE
(
virt_to_page
(
start
)))
if
(
!
VALID_PAGE
(
virt_to_page
(
start
)))
...
@@ -445,4 +445,4 @@ mem_init (void)
...
@@ -445,4 +445,4 @@ mem_init (void)
#ifdef CONFIG_IA32_SUPPORT
#ifdef CONFIG_IA32_SUPPORT
ia32_gdt_init
();
ia32_gdt_init
();
#endif
#endif
}
}
\ No newline at end of file
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