mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-12 14:52:14 +00:00
Merge branch 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6
* 'release' of master.kernel.org:/pub/scm/linux/kernel/git/aegl/linux-2.6: [IA64] a fix towards allmodconfig build [IA64] use generic_handle_irq() [IA64] typename -> name conversion [IA64] irqs: use `name' not `typename' [IA64] bte_unaligned_copy() transfers one extra cache line.
This commit is contained in:
commit
b342baa737
@ -13,8 +13,8 @@ config HP_SIMSERIAL_CONSOLE
|
|||||||
depends on HP_SIMSERIAL
|
depends on HP_SIMSERIAL
|
||||||
|
|
||||||
config HP_SIMSCSI
|
config HP_SIMSCSI
|
||||||
tristate "Simulated SCSI disk"
|
bool "Simulated SCSI disk"
|
||||||
depends on SCSI
|
depends on SCSI=y
|
||||||
|
|
||||||
endmenu
|
endmenu
|
||||||
|
|
||||||
|
@ -27,7 +27,7 @@ hpsim_set_affinity_noop (unsigned int a, cpumask_t b)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static struct hw_interrupt_type irq_type_hp_sim = {
|
static struct hw_interrupt_type irq_type_hp_sim = {
|
||||||
.typename = "hpsim",
|
.name = "hpsim",
|
||||||
.startup = hpsim_irq_startup,
|
.startup = hpsim_irq_startup,
|
||||||
.shutdown = hpsim_irq_noop,
|
.shutdown = hpsim_irq_noop,
|
||||||
.enable = hpsim_irq_noop,
|
.enable = hpsim_irq_noop,
|
||||||
|
@ -426,7 +426,7 @@ iosapic_end_level_irq (unsigned int irq)
|
|||||||
#define iosapic_ack_level_irq nop
|
#define iosapic_ack_level_irq nop
|
||||||
|
|
||||||
struct hw_interrupt_type irq_type_iosapic_level = {
|
struct hw_interrupt_type irq_type_iosapic_level = {
|
||||||
.typename = "IO-SAPIC-level",
|
.name = "IO-SAPIC-level",
|
||||||
.startup = iosapic_startup_level_irq,
|
.startup = iosapic_startup_level_irq,
|
||||||
.shutdown = iosapic_shutdown_level_irq,
|
.shutdown = iosapic_shutdown_level_irq,
|
||||||
.enable = iosapic_enable_level_irq,
|
.enable = iosapic_enable_level_irq,
|
||||||
@ -473,7 +473,7 @@ iosapic_ack_edge_irq (unsigned int irq)
|
|||||||
#define iosapic_end_edge_irq nop
|
#define iosapic_end_edge_irq nop
|
||||||
|
|
||||||
struct hw_interrupt_type irq_type_iosapic_edge = {
|
struct hw_interrupt_type irq_type_iosapic_edge = {
|
||||||
.typename = "IO-SAPIC-edge",
|
.name = "IO-SAPIC-edge",
|
||||||
.startup = iosapic_startup_edge_irq,
|
.startup = iosapic_startup_edge_irq,
|
||||||
.shutdown = iosapic_disable_edge_irq,
|
.shutdown = iosapic_disable_edge_irq,
|
||||||
.enable = iosapic_enable_edge_irq,
|
.enable = iosapic_enable_edge_irq,
|
||||||
@ -664,7 +664,7 @@ register_intr (unsigned int gsi, int vector, unsigned char delivery,
|
|||||||
printk(KERN_WARNING
|
printk(KERN_WARNING
|
||||||
"%s: changing vector %d from %s to %s\n",
|
"%s: changing vector %d from %s to %s\n",
|
||||||
__FUNCTION__, vector,
|
__FUNCTION__, vector,
|
||||||
idesc->chip->typename, irq_type->typename);
|
idesc->chip->name, irq_type->name);
|
||||||
idesc->chip = irq_type;
|
idesc->chip = irq_type;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
|
@ -76,7 +76,7 @@ int show_interrupts(struct seq_file *p, void *v)
|
|||||||
seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]);
|
seq_printf(p, "%10u ", kstat_cpu(j).irqs[i]);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
seq_printf(p, " %14s", irq_desc[i].chip->typename);
|
seq_printf(p, " %14s", irq_desc[i].chip->name);
|
||||||
seq_printf(p, " %s", action->name);
|
seq_printf(p, " %s", action->name);
|
||||||
|
|
||||||
for (action=action->next; action; action = action->next)
|
for (action=action->next; action; action = action->next)
|
||||||
@ -197,7 +197,7 @@ void fixup_irqs(void)
|
|||||||
struct pt_regs *old_regs = set_irq_regs(NULL);
|
struct pt_regs *old_regs = set_irq_regs(NULL);
|
||||||
|
|
||||||
vectors_in_migration[irq]=0;
|
vectors_in_migration[irq]=0;
|
||||||
__do_IRQ(irq);
|
generic_handle_irq(irq);
|
||||||
set_irq_regs(old_regs);
|
set_irq_regs(old_regs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -186,7 +186,7 @@ ia64_handle_irq (ia64_vector vector, struct pt_regs *regs)
|
|||||||
ia64_setreg(_IA64_REG_CR_TPR, vector);
|
ia64_setreg(_IA64_REG_CR_TPR, vector);
|
||||||
ia64_srlz_d();
|
ia64_srlz_d();
|
||||||
|
|
||||||
__do_IRQ(local_vector_to_irq(vector));
|
generic_handle_irq(local_vector_to_irq(vector));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Disable interrupts and send EOI:
|
* Disable interrupts and send EOI:
|
||||||
@ -242,7 +242,7 @@ void ia64_process_pending_intr(void)
|
|||||||
* Probably could shared code.
|
* Probably could shared code.
|
||||||
*/
|
*/
|
||||||
vectors_in_migration[local_vector_to_irq(vector)]=0;
|
vectors_in_migration[local_vector_to_irq(vector)]=0;
|
||||||
__do_IRQ(local_vector_to_irq(vector));
|
generic_handle_irq(local_vector_to_irq(vector));
|
||||||
set_irq_regs(old_regs);
|
set_irq_regs(old_regs);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -34,7 +34,7 @@ static int lsapic_retrigger(unsigned int irq)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct hw_interrupt_type irq_type_ia64_lsapic = {
|
struct hw_interrupt_type irq_type_ia64_lsapic = {
|
||||||
.typename = "LSAPIC",
|
.name = "LSAPIC",
|
||||||
.startup = lsapic_noop_startup,
|
.startup = lsapic_noop_startup,
|
||||||
.shutdown = lsapic_noop,
|
.shutdown = lsapic_noop,
|
||||||
.enable = lsapic_noop,
|
.enable = lsapic_noop,
|
||||||
|
@ -381,14 +381,13 @@ bte_result_t bte_unaligned_copy(u64 src, u64 dest, u64 len, u64 mode)
|
|||||||
* bcopy to the destination.
|
* bcopy to the destination.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Add the leader from source */
|
|
||||||
headBteLen = len + (src & L1_CACHE_MASK);
|
|
||||||
/* Add the trailing bytes from footer. */
|
|
||||||
headBteLen += L1_CACHE_BYTES - (headBteLen & L1_CACHE_MASK);
|
|
||||||
headBteSource = src & ~L1_CACHE_MASK;
|
|
||||||
headBcopySrcOffset = src & L1_CACHE_MASK;
|
headBcopySrcOffset = src & L1_CACHE_MASK;
|
||||||
headBcopyDest = dest;
|
headBcopyDest = dest;
|
||||||
headBcopyLen = len;
|
headBcopyLen = len;
|
||||||
|
|
||||||
|
headBteSource = src - headBcopySrcOffset;
|
||||||
|
/* Add the leading and trailing bytes from source */
|
||||||
|
headBteLen = L1_CACHE_ALIGN(len + headBcopySrcOffset);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (headBcopyLen > 0) {
|
if (headBcopyLen > 0) {
|
||||||
|
@ -201,7 +201,7 @@ static void sn_set_affinity_irq(unsigned int irq, cpumask_t mask)
|
|||||||
}
|
}
|
||||||
|
|
||||||
struct hw_interrupt_type irq_type_sn = {
|
struct hw_interrupt_type irq_type_sn = {
|
||||||
.typename = "SN hub",
|
.name = "SN hub",
|
||||||
.startup = sn_startup_irq,
|
.startup = sn_startup_irq,
|
||||||
.shutdown = sn_shutdown_irq,
|
.shutdown = sn_shutdown_irq,
|
||||||
.enable = sn_enable_irq,
|
.enable = sn_enable_irq,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user