Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 852
b: refs/heads/master
c: ceb4374
h: refs/heads/master
v: v3
  • Loading branch information
Kenji Kaneshige authored and Greg KH committed May 4, 2005
1 parent 5dab5af commit a13645a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 10 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: 235bd6140dad7c08261abdc1f8056485c5344a74
refs/heads/master: ceb43744cd48a20212e2179e0c7ff2f450a3c97e
6 changes: 3 additions & 3 deletions trunk/arch/sparc64/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ void handler_irq(int irq, struct pt_regs *regs)
clear_softint(clr_mask);
}
#else
int should_forward = 0;
int should_forward = 1;

clear_softint(1 << irq);
#endif
Expand Down Expand Up @@ -1007,10 +1007,10 @@ static int retarget_one_irq(struct irqaction *p, int goal_cpu)
}
upa_writel(tid | IMAP_VALID, imap);

do {
while (!cpu_online(goal_cpu)) {
if (++goal_cpu >= NR_CPUS)
goal_cpu = 0;
} while (!cpu_online(goal_cpu));
}

return goal_cpu;
}
Expand Down
7 changes: 3 additions & 4 deletions trunk/drivers/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -398,10 +398,10 @@ pci_enable_device(struct pci_dev *dev)
{
int err;

dev->is_enabled = 1;
if ((err = pci_enable_device_bars(dev, (1 << PCI_NUM_RESOURCES) - 1)))
return err;
pci_fixup_device(pci_fixup_enable, dev);
dev->is_enabled = 1;
return 0;
}

Expand All @@ -427,16 +427,15 @@ pci_disable_device(struct pci_dev *dev)
{
u16 pci_command;

dev->is_enabled = 0;
dev->is_busmaster = 0;

pci_read_config_word(dev, PCI_COMMAND, &pci_command);
if (pci_command & PCI_COMMAND_MASTER) {
pci_command &= ~PCI_COMMAND_MASTER;
pci_write_config_word(dev, PCI_COMMAND, pci_command);
}
dev->is_busmaster = 0;

pcibios_disable_device(dev);
dev->is_enabled = 0;
}

/**
Expand Down
3 changes: 1 addition & 2 deletions trunk/include/net/addrconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@

#define IPV6_MAX_ADDRESSES 16

#include <linux/in6.h>

struct prefix_info {
__u8 type;
__u8 length;
Expand All @@ -45,6 +43,7 @@ struct prefix_info {

#ifdef __KERNEL__

#include <linux/in6.h>
#include <linux/netdevice.h>
#include <net/if_inet6.h>
#include <net/ipv6.h>
Expand Down

0 comments on commit a13645a

Please sign in to comment.