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
24255033
Commit
24255033
authored
Jun 20, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up various odds and ends after big merges..
parent
4376dc0e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
9 additions
and
12 deletions
+9
-12
fs/namespace.c
fs/namespace.c
+3
-5
kernel/futex.c
kernel/futex.c
+0
-1
sound/core/seq/seq_clientmgr.c
sound/core/seq/seq_clientmgr.c
+1
-1
sound/core/seq/seq_queue.c
sound/core/seq/seq_queue.c
+3
-3
sound/pci/ac97/ac97_codec.c
sound/pci/ac97/ac97_codec.c
+2
-2
No files found.
fs/namespace.c
View file @
24255033
...
...
@@ -22,16 +22,14 @@
#include <asm/uaccess.h>
struct
vfsmount
*
do_kern_mount
(
const
char
*
type
,
int
flags
,
char
*
name
,
void
*
data
);
int
do_remount_sb
(
struct
super_block
*
sb
,
int
flags
,
void
*
data
);
int
__init
init_rootfs
(
void
);
extern
struct
vfsmount
*
do_kern_mount
(
const
char
*
type
,
int
flags
,
char
*
name
,
void
*
data
);
extern
int
do_remount_sb
(
struct
super_block
*
sb
,
int
flags
,
void
*
data
);
extern
int
__init
init_rootfs
(
void
);
static
struct
list_head
*
mount_hashtable
;
static
int
hash_mask
,
hash_bits
;
static
kmem_cache_t
*
mnt_cache
;
extern
void
init_rootfs
(
void
);
static
inline
unsigned
long
hash
(
struct
vfsmount
*
mnt
,
struct
dentry
*
dentry
)
{
unsigned
long
tmp
=
((
unsigned
long
)
mnt
/
L1_CACHE_BYTES
);
...
...
kernel/futex.c
View file @
24255033
...
...
@@ -388,7 +388,6 @@ static struct file_system_type futex_fs_type = {
name:
"futexfs"
,
get_sb:
futexfs_get_sb
,
kill_sb:
kill_anon_super
,
fs_flags:
FS_NOMOUNT
,
};
static
int
__init
init
(
void
)
...
...
sound/core/seq/seq_clientmgr.c
View file @
24255033
...
...
@@ -469,7 +469,7 @@ static client_t *get_event_dest_client(snd_seq_event_t *event, int filter)
if
(
!
dest
->
accept_input
)
goto
__not_avail
;
if
((
dest
->
filter
&
SNDRV_SEQ_FILTER_USE_EVENT
)
&&
!
test_bit
(
event
->
type
,
&
dest
->
event_filter
))
!
test_bit
(
event
->
type
,
dest
->
event_filter
))
goto
__not_avail
;
if
(
filter
&&
!
(
dest
->
filter
&
filter
))
goto
__not_avail
;
...
...
sound/core/seq/seq_queue.c
View file @
24255033
...
...
@@ -544,10 +544,10 @@ int snd_seq_queue_use(int queueid, int client, int use)
return
-
EINVAL
;
down
(
&
queue
->
timer_mutex
);
if
(
use
)
{
if
(
!
test_and_set_bit
(
client
,
&
queue
->
clients_bitmap
))
if
(
!
test_and_set_bit
(
client
,
queue
->
clients_bitmap
))
queue
->
clients
++
;
}
else
{
if
(
test_and_clear_bit
(
client
,
&
queue
->
clients_bitmap
))
if
(
test_and_clear_bit
(
client
,
queue
->
clients_bitmap
))
queue
->
clients
--
;
}
if
(
queue
->
clients
)
{
...
...
@@ -575,7 +575,7 @@ int snd_seq_queue_is_used(int queueid, int client)
q
=
queueptr
(
queueid
);
if
(
q
==
NULL
)
return
-
EINVAL
;
/* invalid queue */
result
=
test_bit
(
client
,
&
q
->
clients_bitmap
)
?
1
:
0
;
result
=
test_bit
(
client
,
q
->
clients_bitmap
)
?
1
:
0
;
queuefree
(
q
);
return
result
;
}
...
...
sound/pci/ac97/ac97_codec.c
View file @
24255033
...
...
@@ -265,7 +265,7 @@ void snd_ac97_write_cache(ac97_t *ac97, unsigned short reg, unsigned short value
spin_lock
(
&
ac97
->
reg_lock
);
ac97
->
write
(
ac97
,
reg
,
ac97
->
regs
[
reg
]
=
value
);
spin_unlock
(
&
ac97
->
reg_lock
);
set_bit
(
reg
,
&
ac97
->
reg_accessed
);
set_bit
(
reg
,
ac97
->
reg_accessed
);
}
#ifndef CONFIG_SND_DEBUG
...
...
@@ -2204,7 +2204,7 @@ void snd_ac97_resume(ac97_t *ac97)
* some chip (e.g. nm256) may hang up when unsupported registers
* are accessed..!
*/
if
(
test_bit
(
i
,
&
ac97
->
reg_accessed
))
if
(
test_bit
(
i
,
ac97
->
reg_accessed
))
snd_ac97_write
(
ac97
,
i
,
ac97
->
regs
[
i
]);
}
}
...
...
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