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
674c0719
Commit
674c0719
authored
Aug 15, 2002
by
Andy Grover
Committed by
Andy Grover
Aug 15, 2002
Browse files
Options
Browse Files
Download
Plain Diff
Merge groveronline.com:/root/bk/linux-2.5
into groveronline.com:/root/bk/linux-acpi
parents
a89cc9b6
270ebb5c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
9 deletions
+11
-9
arch/i386/kernel/setup.c
arch/i386/kernel/setup.c
+9
-8
mm/filemap.c
mm/filemap.c
+2
-1
No files found.
arch/i386/kernel/setup.c
View file @
674c0719
...
@@ -275,16 +275,17 @@ static void __init print_memory_map(char *who)
...
@@ -275,16 +275,17 @@ static void __init print_memory_map(char *who)
* replaces the original e820 map with a new one, removing overlaps.
* replaces the original e820 map with a new one, removing overlaps.
*
*
*/
*/
struct
change_member
{
struct
e820entry
*
pbios
;
/* pointer to original bios entry */
unsigned
long
long
addr
;
/* address for this change point */
};
struct
change_member
change_point_list
[
2
*
E820MAX
]
__initdata
;
struct
change_member
*
change_point
[
2
*
E820MAX
]
__initdata
;
struct
e820entry
*
overlap_list
[
E820MAX
]
__initdata
;
struct
e820entry
new_bios
[
E820MAX
]
__initdata
;
static
int
__init
sanitize_e820_map
(
struct
e820entry
*
biosmap
,
char
*
pnr_map
)
static
int
__init
sanitize_e820_map
(
struct
e820entry
*
biosmap
,
char
*
pnr_map
)
{
{
struct
change_member
{
struct
e820entry
*
pbios
;
/* pointer to original bios entry */
unsigned
long
long
addr
;
/* address for this change point */
};
struct
change_member
change_point_list
[
2
*
E820MAX
];
struct
change_member
*
change_point
[
2
*
E820MAX
];
struct
e820entry
*
overlap_list
[
E820MAX
];
struct
e820entry
new_bios
[
E820MAX
];
struct
change_member
*
change_tmp
;
struct
change_member
*
change_tmp
;
unsigned
long
current_type
,
last_type
;
unsigned
long
current_type
,
last_type
;
unsigned
long
long
last_addr
;
unsigned
long
long
last_addr
;
...
...
mm/filemap.c
View file @
674c0719
...
@@ -1866,6 +1866,8 @@ ssize_t generic_file_write_nolock(struct file *file, const char *buf,
...
@@ -1866,6 +1866,8 @@ ssize_t generic_file_write_nolock(struct file *file, const char *buf,
if
(
unlikely
(
pos
<
0
))
if
(
unlikely
(
pos
<
0
))
return
-
EINVAL
;
return
-
EINVAL
;
pagevec_init
(
&
lru_pvec
);
if
(
unlikely
(
file
->
f_error
))
{
if
(
unlikely
(
file
->
f_error
))
{
err
=
file
->
f_error
;
err
=
file
->
f_error
;
file
->
f_error
=
0
;
file
->
f_error
=
0
;
...
@@ -1976,7 +1978,6 @@ ssize_t generic_file_write_nolock(struct file *file, const char *buf,
...
@@ -1976,7 +1978,6 @@ ssize_t generic_file_write_nolock(struct file *file, const char *buf,
goto
out_status
;
goto
out_status
;
}
}
pagevec_init
(
&
lru_pvec
);
do
{
do
{
unsigned
long
index
;
unsigned
long
index
;
unsigned
long
offset
;
unsigned
long
offset
;
...
...
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