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
51fea7bb
Commit
51fea7bb
authored
Nov 23, 2007
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Import 2.1.78
parent
cfdec9c9
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
15 deletions
+10
-15
drivers/sound/gus_wave.c
drivers/sound/gus_wave.c
+4
-8
fs/proc/generic.c
fs/proc/generic.c
+0
-2
include/linux/sched.h
include/linux/sched.h
+6
-5
No files found.
drivers/sound/gus_wave.c
View file @
51fea7bb
...
...
@@ -2863,8 +2863,7 @@ int gus_default_mixer_ioctl(int dev, unsigned int cmd, caddr_t arg)
vol
=
100
;
gus_mic_vol
=
vol
;
set_input_volumes
();
vol
|=
(
vol
<<
8
);
val
=
vol
;
val
=
vol
|
(
vol
<<
8
);
break
;
case
SOUND_MIXER_LINE
:
...
...
@@ -2875,8 +2874,7 @@ int gus_default_mixer_ioctl(int dev, unsigned int cmd, caddr_t arg)
vol
=
100
;
gus_line_vol
=
vol
;
set_input_volumes
();
vol
|=
(
vol
<<
8
);
val
=
vol
;
val
=
vol
|
(
vol
<<
8
);
break
;
case
SOUND_MIXER_PCM
:
...
...
@@ -2886,8 +2884,7 @@ int gus_default_mixer_ioctl(int dev, unsigned int cmd, caddr_t arg)
if
(
gus_pcm_volume
>
100
)
gus_pcm_volume
=
100
;
gus_audio_update_volume
();
gus_pcm_volume
|=
(
gus_pcm_volume
<<
8
);
val
=
gus_pcm_volume
;
val
=
gus_pcm_volume
|
(
gus_pcm_volume
<<
8
);
break
;
case
SOUND_MIXER_SYNTH
:
...
...
@@ -2901,8 +2898,7 @@ int gus_default_mixer_ioctl(int dev, unsigned int cmd, caddr_t arg)
for
(
voice
=
0
;
voice
<
nr_voices
;
voice
++
)
dynamic_volume_change
(
voice
);
/* Apply the new vol */
}
gus_wave_volume
|=
(
gus_wave_volume
<<
8
);
val
=
gus_wave_volume
;
val
=
gus_wave_volume
|
(
gus_wave_volume
<<
8
);
break
;
default:
...
...
fs/proc/generic.c
View file @
51fea7bb
...
...
@@ -298,8 +298,6 @@ void remove_proc_entry(const char *name, struct proc_dir_entry *parent)
}
if
(
de
)
{
printk
(
"remove_proc_entry: parent nlink=%d, file nlink=%d
\n
"
,
parent
->
nlink
,
de
->
nlink
);
proc_unregister
(
parent
,
de
->
low_ino
);
de
->
nlink
=
0
;
de
->
deleted
=
1
;
...
...
include/linux/sched.h
View file @
51fea7bb
...
...
@@ -182,14 +182,14 @@ struct task_struct {
long
counter
;
long
priority
;
unsigned
long
flags
;
/* per process flags, defined below */
mm_segment_t
addr_limit
;
/* thread address space:
0-0xBFFFFFFF for user-thead
0-0xFFFFFFFF for kernel-thread
*/
int
sigpending
;
long
debugreg
[
8
];
/* Hardware debugging registers */
struct
exec_domain
*
exec_domain
;
/* various fields */
mm_segment_t
addr_limit
;
/* thread address space:
0-0xBFFFFFFF for user-thead
0-0xFFFFFFFF for kernel-thread
*/
struct
linux_binfmt
*
binfmt
;
struct
task_struct
*
next_task
,
*
prev_task
;
struct
task_struct
*
next_run
,
*
prev_run
;
...
...
@@ -311,9 +311,10 @@ struct task_struct {
* your own risk!. Base=0, limit=0x1fffff (=2MB)
*/
#define INIT_TASK \
/* state etc */
{ 0,DEF_PRIORITY,DEF_PRIORITY,0,
KERNEL_DS,
0, \
/* state etc */
{ 0,DEF_PRIORITY,DEF_PRIORITY,0,0, \
/* debugregs */
{ 0, }, \
/* exec domain */
&default_exec_domain, \
/* mm_seg */
KERNEL_DS, \
/* binfmt */
NULL, \
/* schedlink */
&init_task,&init_task, &init_task, &init_task, \
/* ec,brk... */
0,0,0,0,0,0, \
...
...
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