Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 39064
b: refs/heads/master
c: 476d120
h: refs/heads/master
v: v3
  • Loading branch information
Sasha Khapyorsky authored and Jaroslav Kysela committed Oct 6, 2006
1 parent 5e94dc1 commit ea10f76
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 15 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 815a965b0e6d925646e1f6012175830ef21e0d21
refs/heads/master: 476d1205d182e12a74f4197ccc9092ea6a80e15b
5 changes: 1 addition & 4 deletions trunk/arch/ia64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -194,11 +194,8 @@ void fixup_irqs(void)
*/
for (irq=0; irq < NR_IRQS; irq++) {
if (vectors_in_migration[irq]) {
struct pt_regs *old_regs = set_irq_regs(NULL);

vectors_in_migration[irq]=0;
__do_IRQ(irq);
set_irq_regs(old_regs);
__do_IRQ(irq, NULL);
}
}

Expand Down
7 changes: 2 additions & 5 deletions trunk/arch/ia64/kernel/irq_ia64.c
Original file line number Diff line number Diff line change
Expand Up @@ -226,8 +226,6 @@ void ia64_process_pending_intr(void)
*/
while (vector != IA64_SPURIOUS_INT_VECTOR) {
if (!IS_RESCHEDULE(vector)) {
struct pt_regs *old_regs = set_irq_regs(NULL);

ia64_setreg(_IA64_REG_CR_TPR, vector);
ia64_srlz_d();

Expand All @@ -238,8 +236,7 @@ void ia64_process_pending_intr(void)
* Probably could shared code.
*/
vectors_in_migration[local_vector_to_irq(vector)]=0;
__do_IRQ(local_vector_to_irq(vector));
set_irq_regs(old_regs);
__do_IRQ(local_vector_to_irq(vector), NULL);

/*
* Disable interrupts and send EOI
Expand All @@ -256,7 +253,7 @@ void ia64_process_pending_intr(void)


#ifdef CONFIG_SMP
extern irqreturn_t handle_IPI (int irq, void *dev_id);
extern irqreturn_t handle_IPI (int irq, void *dev_id, struct pt_regs *regs);

static struct irqaction ipi_irqaction = {
.handler = handle_IPI,
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/ia64/sn/kernel/sn2/timer_interrupt.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ extern irqreturn_t timer_interrupt(int irq, void *dev_id, struct pt_regs *regs);

#define SN_LB_INT_WAR_INTERVAL 100

void sn_timer_interrupt(int irq, void *dev_id)
void sn_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
{
/* LED blinking */
if (!pda->hb_count--) {
Expand Down
2 changes: 1 addition & 1 deletion trunk/drivers/serial/sn_console.c
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ static void sn_sal_timer_poll(unsigned long data)
if (!port->sc_port.irq) {
spin_lock_irqsave(&port->sc_port.lock, flags);
if (sn_process_input)
sn_receive_chars(port, flags);
sn_receive_chars(port, NULL, flags);
sn_transmit_chars(port, TRANSMIT_RAW);
spin_unlock_irqrestore(&port->sc_port.lock, flags);
mod_timer(&port->sc_timer,
Expand Down
5 changes: 2 additions & 3 deletions trunk/include/asm-i386/smp.h
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ extern u8 x86_cpu_to_apicid[];

#define cpu_physical_id(cpu) x86_cpu_to_apicid[cpu]

extern u8 apicid_2_node[];

#ifdef CONFIG_HOTPLUG_CPU
extern void cpu_exit_clear(void);
extern void cpu_uninit(void);
Expand Down Expand Up @@ -99,9 +101,6 @@ extern unsigned int num_processors;
#endif

#ifndef __ASSEMBLY__

extern u8 apicid_2_node[];

#ifdef CONFIG_X86_LOCAL_APIC
static __inline int logical_smp_processor_id(void)
{
Expand Down
5 changes: 5 additions & 0 deletions trunk/sound/pci/hda/patch_si3054.c
Original file line number Diff line number Diff line change
Expand Up @@ -297,8 +297,13 @@ static int patch_si3054(struct hda_codec *codec)
struct hda_codec_preset snd_hda_preset_si3054[] = {
{ .id = 0x163c3055, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x163c3155, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x11c11040, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x11c13026, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x11c13055, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x11c13155, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x10573055, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x10573057, .name = "Si3054", .patch = patch_si3054 },
{ .id = 0x10573155, .name = "Si3054", .patch = patch_si3054 },
{}
};

0 comments on commit ea10f76

Please sign in to comment.