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
703074c5
Commit
703074c5
authored
May 07, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
http://linux-ntfs.bkbits.net/ntfs-2.6
into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents
ec44dec7
492d6ea7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
arch/i386/kernel/process.c
arch/i386/kernel/process.c
+4
-0
arch/x86_64/kernel/process.c
arch/x86_64/kernel/process.c
+3
-2
drivers/ide/ide-disk.c
drivers/ide/ide-disk.c
+3
-0
No files found.
arch/i386/kernel/process.c
View file @
703074c5
...
...
@@ -293,8 +293,12 @@ void exit_thread(void)
/* The process may have allocated an io port bitmap... nuke it. */
if
(
unlikely
(
NULL
!=
tsk
->
thread
.
io_bitmap_ptr
))
{
int
cpu
=
get_cpu
();
struct
tss_struct
*
tss
=
init_tss
+
cpu
;
kfree
(
tsk
->
thread
.
io_bitmap_ptr
);
tsk
->
thread
.
io_bitmap_ptr
=
NULL
;
tss
->
io_bitmap_base
=
INVALID_IO_BITMAP_OFFSET
;
put_cpu
();
}
}
...
...
arch/x86_64/kernel/process.c
View file @
703074c5
...
...
@@ -256,10 +256,11 @@ void exit_thread(void)
{
struct
task_struct
*
me
=
current
;
if
(
me
->
thread
.
io_bitmap_ptr
)
{
struct
tss_struct
*
tss
=
init_tss
+
get_cpu
();
kfree
(
me
->
thread
.
io_bitmap_ptr
);
me
->
thread
.
io_bitmap_ptr
=
NULL
;
(
init_tss
+
smp_processor_id
())
->
io_bitmap_base
=
INVALID_IO_BITMAP_OFFSET
;
tss
->
io_bitmap_base
=
INVALID_IO_BITMAP_OFFSET
;
put_cpu
()
;
}
}
...
...
drivers/ide/ide-disk.c
View file @
703074c5
...
...
@@ -1774,6 +1774,9 @@ static int idedisk_open(struct inode *inode, struct file *filp)
static
int
ide_cacheflush_p
(
ide_drive_t
*
drive
)
{
if
(
!
(
drive
->
id
->
cfs_enable_2
&
0x3000
))
return
0
;
if
(
drive
->
wcache
)
{
if
(
do_idedisk_flushcache
(
drive
))
...
...
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