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
d26a42bb
Commit
d26a42bb
authored
Apr 10, 2003
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/net-2.5
into home.transmeta.com:/home/torvalds/v2.5/linux
parents
78d4faf7
c9a41f0f
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
27 deletions
+15
-27
arch/sparc/kernel/sparc_ksyms.c
arch/sparc/kernel/sparc_ksyms.c
+1
-0
sound/core/ioctl32/pcm32.c
sound/core/ioctl32/pcm32.c
+5
-9
sound/core/ioctl32/rawmidi32.c
sound/core/ioctl32/rawmidi32.c
+3
-7
sound/core/ioctl32/timer32.c
sound/core/ioctl32/timer32.c
+4
-9
sound/core/memalloc.c
sound/core/memalloc.c
+2
-2
No files found.
arch/sparc/kernel/sparc_ksyms.c
View file @
d26a42bb
...
@@ -127,6 +127,7 @@ EXPORT_SYMBOL(__down_trylock);
...
@@ -127,6 +127,7 @@ EXPORT_SYMBOL(__down_trylock);
EXPORT_SYMBOL
(
__down_interruptible
);
EXPORT_SYMBOL
(
__down_interruptible
);
EXPORT_SYMBOL
(
sparc_valid_addr_bitmap
);
EXPORT_SYMBOL
(
sparc_valid_addr_bitmap
);
EXPORT_SYMBOL
(
phys_base
);
/* Atomic operations. */
/* Atomic operations. */
EXPORT_SYMBOL_PRIVATE
(
_atomic_add
);
EXPORT_SYMBOL_PRIVATE
(
_atomic_add
);
...
...
sound/core/ioctl32/pcm32.c
View file @
d26a42bb
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include <sound/driver.h>
#include <sound/driver.h>
#include <linux/time.h>
#include <linux/time.h>
#include <linux/slab.h>
#include <linux/slab.h>
#include <linux/compat.h>
#include <sound/core.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include <sound/pcm.h>
#include "ioctl32.h"
#include "ioctl32.h"
...
@@ -136,15 +137,10 @@ struct sndrv_pcm_channel_info32 {
...
@@ -136,15 +137,10 @@ struct sndrv_pcm_channel_info32 {
COPY(step);\
COPY(step);\
}
}
struct
timeval32
{
s32
tv_sec
;
s32
tv_usec
;
}
__attribute__
((
packed
));
struct
sndrv_pcm_status32
{
struct
sndrv_pcm_status32
{
s32
state
;
s32
state
;
struct
timeval32
trigger_tstamp
;
struct
compat_timespec
trigger_tstamp
;
struct
timeval32
tstamp
;
struct
compat_timespec
tstamp
;
u32
appl_ptr
;
u32
appl_ptr
;
u32
hw_ptr
;
u32
hw_ptr
;
s32
delay
;
s32
delay
;
...
@@ -159,9 +155,9 @@ struct sndrv_pcm_status32 {
...
@@ -159,9 +155,9 @@ struct sndrv_pcm_status32 {
{\
{\
COPY(state);\
COPY(state);\
COPY(trigger_tstamp.tv_sec);\
COPY(trigger_tstamp.tv_sec);\
COPY(trigger_tstamp.tv_
u
sec);\
COPY(trigger_tstamp.tv_
n
sec);\
COPY(tstamp.tv_sec);\
COPY(tstamp.tv_sec);\
COPY(tstamp.tv_
u
sec);\
COPY(tstamp.tv_
n
sec);\
COPY(appl_ptr);\
COPY(appl_ptr);\
COPY(hw_ptr);\
COPY(hw_ptr);\
COPY(delay);\
COPY(delay);\
...
...
sound/core/ioctl32/rawmidi32.c
View file @
d26a42bb
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include <sound/driver.h>
#include <sound/driver.h>
#include <linux/time.h>
#include <linux/time.h>
#include <linux/fs.h>
#include <linux/fs.h>
#include <linux/compat.h>
#include <sound/core.h>
#include <sound/core.h>
#include <sound/rawmidi.h>
#include <sound/rawmidi.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
...
@@ -42,14 +43,9 @@ struct sndrv_rawmidi_params32 {
...
@@ -42,14 +43,9 @@ struct sndrv_rawmidi_params32 {
COPY(no_active_sensing);\
COPY(no_active_sensing);\
}
}
struct
timeval32
{
s32
tv_sec
;
s32
tv_usec
;
}
__attribute__
((
packed
));
struct
sndrv_rawmidi_status32
{
struct
sndrv_rawmidi_status32
{
s32
stream
;
s32
stream
;
struct
timeval32
tstamp
;
struct
compat_timespec
tstamp
;
u32
avail
;
u32
avail
;
u32
xruns
;
u32
xruns
;
unsigned
char
reserved
[
16
];
unsigned
char
reserved
[
16
];
...
@@ -59,7 +55,7 @@ struct sndrv_rawmidi_status32 {
...
@@ -59,7 +55,7 @@ struct sndrv_rawmidi_status32 {
{\
{\
COPY(stream);\
COPY(stream);\
COPY(tstamp.tv_sec);\
COPY(tstamp.tv_sec);\
COPY(tstamp.tv_
u
sec);\
COPY(tstamp.tv_
n
sec);\
COPY(avail);\
COPY(avail);\
COPY(xruns);\
COPY(xruns);\
}
}
...
...
sound/core/ioctl32/timer32.c
View file @
d26a42bb
...
@@ -21,6 +21,7 @@
...
@@ -21,6 +21,7 @@
#include <sound/driver.h>
#include <sound/driver.h>
#include <linux/time.h>
#include <linux/time.h>
#include <linux/fs.h>
#include <linux/fs.h>
#include <linux/compat.h>
#include <sound/core.h>
#include <sound/core.h>
#include <sound/timer.h>
#include <sound/timer.h>
#include <asm/uaccess.h>
#include <asm/uaccess.h>
...
@@ -31,7 +32,7 @@ struct sndrv_timer_info32 {
...
@@ -31,7 +32,7 @@ struct sndrv_timer_info32 {
s32
card
;
s32
card
;
unsigned
char
id
[
64
];
unsigned
char
id
[
64
];
unsigned
char
name
[
80
];
unsigned
char
name
[
80
];
u32
ticks
;
u32
reserved0
;
u32
resolution
;
u32
resolution
;
unsigned
char
reserved
[
64
];
unsigned
char
reserved
[
64
];
};
};
...
@@ -42,17 +43,11 @@ struct sndrv_timer_info32 {
...
@@ -42,17 +43,11 @@ struct sndrv_timer_info32 {
COPY(card);\
COPY(card);\
memcpy(dst->id, src->id, sizeof(src->id));\
memcpy(dst->id, src->id, sizeof(src->id));\
memcpy(dst->name, src->name, sizeof(src->name));\
memcpy(dst->name, src->name, sizeof(src->name));\
COPY(ticks);\
COPY(resolution);\
COPY(resolution);\
}
}
struct
timeval32
{
s32
tv_sec
;
s32
tv_usec
;
};
struct
sndrv_timer_status32
{
struct
sndrv_timer_status32
{
struct
timeval32
tstamp
;
struct
compat_timespec
tstamp
;
u32
resolution
;
u32
resolution
;
u32
lost
;
u32
lost
;
u32
overrun
;
u32
overrun
;
...
@@ -63,7 +58,7 @@ struct sndrv_timer_status32 {
...
@@ -63,7 +58,7 @@ struct sndrv_timer_status32 {
#define CVT_sndrv_timer_status()\
#define CVT_sndrv_timer_status()\
{\
{\
COPY(tstamp.tv_sec);\
COPY(tstamp.tv_sec);\
COPY(tstamp.tv_
u
sec);\
COPY(tstamp.tv_
n
sec);\
COPY(resolution);\
COPY(resolution);\
COPY(lost);\
COPY(lost);\
COPY(overrun);\
COPY(overrun);\
...
...
sound/core/memalloc.c
View file @
d26a42bb
...
@@ -205,7 +205,7 @@ int snd_dma_alloc_pages(const struct snd_dma_device *dev, size_t size,
...
@@ -205,7 +205,7 @@ int snd_dma_alloc_pages(const struct snd_dma_device *dev, size_t size,
#endif
#endif
#ifdef CONFIG_SBUS
#ifdef CONFIG_SBUS
case
SNDRV_DMA_TYPE_SBUS
:
case
SNDRV_DMA_TYPE_SBUS
:
dmab
->
area
=
snd_malloc_
pci
_pages
(
dev
->
dev
.
sbus
,
size
,
&
dmab
->
addr
);
dmab
->
area
=
snd_malloc_
sbus
_pages
(
dev
->
dev
.
sbus
,
size
,
&
dmab
->
addr
);
break
;
break
;
#endif
#endif
default:
default:
...
@@ -248,7 +248,7 @@ void snd_dma_free_pages(const struct snd_dma_device *dev, struct snd_dma_buffer
...
@@ -248,7 +248,7 @@ void snd_dma_free_pages(const struct snd_dma_device *dev, struct snd_dma_buffer
#endif
#endif
#ifdef CONFIG_SBUS
#ifdef CONFIG_SBUS
case
SNDRV_DMA_TYPE_SBUS
:
case
SNDRV_DMA_TYPE_SBUS
:
snd_free_sbus_pages
(
dev
->
dev
.
sbus
,
dmab
->
size
,
dmab
->
are
,
dmab
->
addr
);
snd_free_sbus_pages
(
dev
->
dev
.
sbus
,
dmab
->
bytes
,
dmab
->
area
,
dmab
->
addr
);
break
;
break
;
#endif
#endif
default:
default:
...
...
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