Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 312805 Details for
Bug 456698
Module snd-sb16.ko fails to build in a custom kernel.
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
RHEL5 fix for this issue
456698.patch (text/plain), 2.60 KB, created by
Prarit Bhargava
on 2008-07-28 18:37:46 UTC
(
hide
)
Description:
RHEL5 fix for this issue
Filename:
MIME Type:
Creator:
Prarit Bhargava
Created:
2008-07-28 18:37:46 UTC
Size:
2.60 KB
patch
obsolete
>Fix snd-sb16.ko compile. > >This option is not turned on in our kernel, however, it should compile. > >Compile tested only. > >Resolves BZ 456698. > >diff --git a/include/sound/initval.h b/include/sound/initval.h >index e85b907..3a088ad 100644 >--- a/include/sound/initval.h >+++ b/include/sound/initval.h >@@ -53,7 +53,8 @@ > #ifdef SNDRV_LEGACY_FIND_FREE_IRQ > #include <linux/interrupt.h> > >-static irqreturn_t snd_legacy_empty_irq_handler(int irq, void *dev_id) >+static irqreturn_t snd_legacy_empty_irq_handler(int irq, void *dev_id, >+ struct pt_regs *regs) > { > return IRQ_HANDLED; > } >diff --git a/include/sound/sb.h b/include/sound/sb.h >index 81b2096..d0b434c 100644 >--- a/include/sound/sb.h >+++ b/include/sound/sb.h >@@ -100,6 +100,7 @@ struct snd_sb { > struct snd_rawmidi *rmidi; > struct snd_rawmidi_substream *midi_substream_input; > struct snd_rawmidi_substream *midi_substream_output; >+ irq_handler_t rmidi_callback; > > spinlock_t reg_lock; > spinlock_t open_lock; >@@ -315,7 +316,7 @@ int snd_sb16dsp_pcm(struct snd_sb *chip, int device, struct snd_pcm ** rpcm); > const struct snd_pcm_ops *snd_sb16dsp_get_pcm_ops(int direction); > int snd_sb16dsp_configure(struct snd_sb *chip); > /* sb16.c */ >-irqreturn_t snd_sb16dsp_interrupt(int irq, void *dev_id); >+irqreturn_t snd_sb16dsp_interrupt(int irq, void *dev_id, struct pt_regs *regs); > > /* exported mixer stuffs */ > enum { >diff --git a/sound/isa/sb/sb16_main.c b/sound/isa/sb/sb16_main.c >index 383911b..f183f18 100644 >--- a/sound/isa/sb/sb16_main.c >+++ b/sound/isa/sb/sb16_main.c >@@ -395,7 +395,7 @@ static int snd_sb16_capture_trigger(struct snd_pcm_substream *substream, > return result; > } > >-irqreturn_t snd_sb16dsp_interrupt(int irq, void *dev_id) >+irqreturn_t snd_sb16dsp_interrupt(int irq, void *dev_id, struct pt_regs *regs) > { > struct snd_sb *chip = dev_id; > unsigned char status; >@@ -405,7 +405,7 @@ irqreturn_t snd_sb16dsp_interrupt(int irq, void *dev_id) > status = snd_sbmixer_read(chip, SB_DSP4_IRQSTATUS); > spin_unlock(&chip->mixer_lock); > if ((status & SB_IRQTYPE_MPUIN) && chip->rmidi_callback) >- chip->rmidi_callback(irq, chip->rmidi->private_data); >+ chip->rmidi_callback(irq, chip->rmidi->private_data, regs); > if (status & SB_IRQTYPE_8BIT) { > ok = 0; > if (chip->mode & SB_MODE_PLAYBACK_8) { >diff --git a/sound/isa/sb/sb8.c b/sound/isa/sb/sb8.c >index be1e83e..7b46cfc 100644 >--- a/sound/isa/sb/sb8.c >+++ b/sound/isa/sb/sb8.c >@@ -63,7 +63,8 @@ struct snd_sb8 { > struct snd_sb *chip; > }; > >-static irqreturn_t snd_sb8_interrupt(int irq, void *dev_id) >+static irqreturn_t snd_sb8_interrupt(int irq, void *dev_id, >+ struct pt_regs *regs) > { > struct snd_sb *chip = dev_id; >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 456698
:
312660
| 312805