Skip to content

Commit

Permalink
Merge ../linux-2.6
Browse files Browse the repository at this point in the history
  • Loading branch information
paulusmack committed Nov 25, 2005
2 parents 55bb239 + cd0cca7 commit 26925c5
Show file tree
Hide file tree
Showing 56 changed files with 485 additions and 452 deletions.
20 changes: 19 additions & 1 deletion MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ P: Person
M: Mail patches to
L: Mailing list that is relevant to this area
W: Web-page with status/info
T: SCM tree type and URL. Type is one of: git, hg, quilt.
T: SCM tree type and location. Type is one of: git, hg, quilt.
S: Status, one of the following:

Supported: Someone is actually paid to look after this.
Expand Down Expand Up @@ -227,6 +227,7 @@ AGPGART DRIVER
P: Dave Jones
M: [email protected]
W: http://www.codemonkey.org.uk/projects/agp/
T: git kernel.org:/pub/scm/linux/kernel/git/davej/agpgart.git
S: Maintained

AHA152X SCSI DRIVER
Expand Down Expand Up @@ -384,6 +385,7 @@ P: David Woodhouse
M: [email protected]
L: [email protected]
W: http://people.redhat.com/sgrubb/audit/
T: git kernel.org:/pub/scm/linux/kernel/git/dwmw2/audit-2.6.git
S: Maintained

AX.25 NETWORK LAYER
Expand Down Expand Up @@ -432,6 +434,7 @@ L: [email protected]
W: http://bluez.sf.net
W: http://www.bluez.org
W: http://www.holtmann.org/linux/bluetooth/
T: git kernel.org:/pub/scm/linux/kernel/git/holtmann/bluetooth-2.6.git
S: Maintained

BLUETOOTH RFCOMM LAYER
Expand Down Expand Up @@ -547,6 +550,7 @@ P: Steve French
M: [email protected]
L: [email protected]
W: http://us1.samba.org/samba/Linux_CIFS_client.html
T: git kernel.org:/pub/scm/linux/kernel/git/sfrench/cifs-2.6.git
S: Supported

CIRRUS LOGIC GENERIC FBDEV DRIVER
Expand Down Expand Up @@ -608,6 +612,7 @@ P: Dave Jones
M: [email protected]
L: [email protected]
W: http://www.codemonkey.org.uk/projects/cpufreq/
T: git kernel.org/pub/scm/linux/kernel/davej/cpufreq.git
S: Maintained

CPUID/MSR DRIVER
Expand Down Expand Up @@ -641,6 +646,7 @@ M: [email protected]
P: David S. Miller
M: [email protected]
L: [email protected]
T: git kernel.org:/pub/scm/linux/kernel/git/herbert/crypto-2.6.git
S: Maintained

CYBERPRO FB DRIVER
Expand Down Expand Up @@ -1185,6 +1191,7 @@ P: Bartlomiej Zolnierkiewicz
M: [email protected]
L: [email protected]
L: [email protected]
T: git kernel.org:/pub/scm/linux/kernel/git/bart/ide-2.6.git
S: Maintained

IDE/ATAPI CDROM DRIVER
Expand Down Expand Up @@ -1279,6 +1286,7 @@ P: Vojtech Pavlik
M: [email protected]
L: [email protected]
L: [email protected]
T: git kernel.org:/pub/scm/linux/kernel/git/dtor/input.git
S: Maintained

INOTIFY
Expand Down Expand Up @@ -1392,6 +1400,7 @@ P: Kai Germaschewski
M: [email protected]
L: [email protected]
W: http://www.isdn4linux.de
T: git kernel.org:/pub/scm/linux/kernel/kkeil/isdn-2.6.git
S: Maintained

ISDN SUBSYSTEM (Eicon active card driver)
Expand Down Expand Up @@ -1420,6 +1429,7 @@ P: Dave Kleikamp
M: [email protected]
L: [email protected]
W: http://jfs.sourceforge.net/
T: git kernel.org:/pub/scm/linux/kernel/git/shaggy/jfs-2.6.git
S: Supported

KCONFIG
Expand Down Expand Up @@ -1534,6 +1544,7 @@ P: Paul Mackerras
M: [email protected]
W: http://www.penguinppc.org/
L: [email protected]
T: git kernel.org:/pub/scm/linux/kernel/git/paulus/powerpc.git
S: Supported

LINUX FOR POWER MACINTOSH
Expand Down Expand Up @@ -1601,6 +1612,7 @@ P: Chris Wright
M: [email protected]
L: [email protected]
W: http://lsm.immunix.org
T: git kernel.org:/pub/scm/linux/kernel/git/chrisw/lsm-2.6.git
S: Supported

LM83 HARDWARE MONITOR DRIVER
Expand Down Expand Up @@ -1695,6 +1707,7 @@ P: David Woodhouse
M: [email protected]
W: http://www.linux-mtd.infradead.org/
L: [email protected]
T: git kernel.org:/pub/scm/linux/kernel/git/tglx/mtd-2.6.git
S: Maintained

MICROTEK X6 SCANNER
Expand Down Expand Up @@ -1815,6 +1828,7 @@ M: [email protected]
P: Patrick McHardy
M: [email protected]
L: [email protected]
T: git kernel.org:/pub/scm/linux/kernel/davem/net-2.6.git
S: Maintained

IPVS
Expand Down Expand Up @@ -1866,6 +1880,7 @@ M: [email protected]
L: [email protected]
L: [email protected]
W: http://linux-ntfs.sf.net/
T: git kernel.org:/pub/scm/linux/kernel/git/aia21/ntfs-2.6.git
S: Maintained

NVIDIA (RIVA) FRAMEBUFFER DRIVER
Expand Down Expand Up @@ -2389,6 +2404,7 @@ P: Anton Blanchard
M: [email protected]
L: [email protected]
L: [email protected]
T: git kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6.git
S: Maintained

SHARP LH SUPPORT (LH7952X & LH7A40X)
Expand Down Expand Up @@ -2527,6 +2543,7 @@ P: Adrian Bunk
M: [email protected]
L: [email protected]
W: http://www.kernel.org/pub/linux/kernel/people/bunk/trivial/
T: git kernel.org:/pub/scm/linux/kernel/git/bunk/trivial.git
S: Maintained

TMS380 TOKEN-RING NETWORK DRIVER
Expand Down Expand Up @@ -2860,6 +2877,7 @@ P: Latchesar Ionkov
M: [email protected]
L: [email protected]
W: http://v9fs.sf.net
T: git kernel.org:/pub/scm/linux/kernel/ericvh/v9fs-devel.git
S: Maintained

VIDEO FOR LINUX
Expand Down
7 changes: 0 additions & 7 deletions arch/i386/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -393,13 +393,6 @@ void flush_thread(void)
{
struct task_struct *tsk = current;

/*
* Remove function-return probe instances associated with this task
* and put them back on the free list. Do not insert an exit probe for
* this function, it will be disabled by kprobe_flush_task if you do.
*/
kprobe_flush_task(tsk);

memset(tsk->thread.debugreg, 0, sizeof(unsigned long)*8);
memset(tsk->thread.tls_array, 0, sizeof(tsk->thread.tls_array));
/*
Expand Down
4 changes: 2 additions & 2 deletions arch/i386/pci/common.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ struct pci_bus * __devinit pcibios_scan_root(int busnum)
}
}

printk("PCI: Probing PCI hardware (bus %02x)\n", busnum);
printk(KERN_DEBUG "PCI: Probing PCI hardware (bus %02x)\n", busnum);

return pci_scan_bus_parented(NULL, busnum, &pci_root_ops, NULL);
}
Expand All @@ -144,7 +144,7 @@ static int __init pcibios_init(void)
struct cpuinfo_x86 *c = &boot_cpu_data;

if (!raw_pci_ops) {
printk("PCI: System does not support PCI\n");
printk(KERN_WARNING "PCI: System does not support PCI\n");
return 0;
}

Expand Down
2 changes: 1 addition & 1 deletion arch/i386/pci/direct.c
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ static int __init pci_sanity_check(struct pci_raw_ops *o)
return 1;
}

DBG("PCI: Sanity check failed\n");
DBG(KERN_WARNING "PCI: Sanity check failed\n");
return 0;
}

Expand Down
7 changes: 5 additions & 2 deletions arch/i386/pci/i386.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,11 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask)
continue;

r = &dev->resource[idx];
if (!(r->flags & (IORESOURCE_IO | IORESOURCE_MEM)))
continue;
if ((idx == PCI_ROM_RESOURCE) &&
(!(r->flags & IORESOURCE_ROM_ENABLE)))
continue;
if (!r->start && r->end) {
printk(KERN_ERR "PCI: Device %s not available because of resource collisions\n", pci_name(dev));
return -EINVAL;
Expand All @@ -230,8 +235,6 @@ int pcibios_enable_resources(struct pci_dev *dev, int mask)
if (r->flags & IORESOURCE_MEM)
cmd |= PCI_COMMAND_MEMORY;
}
if (dev->resource[PCI_ROM_RESOURCE].start)
cmd |= PCI_COMMAND_MEMORY;
if (cmd != old_cmd) {
printk("PCI: Enabling device %s (%04x -> %04x)\n", pci_name(dev), old_cmd, cmd);
pci_write_config_word(dev, PCI_COMMAND, cmd);
Expand Down
7 changes: 0 additions & 7 deletions arch/ia64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -718,13 +718,6 @@ kernel_thread_helper (int (*fn)(void *), void *arg)
void
flush_thread (void)
{
/*
* Remove function-return probe instances associated with this task
* and put them back on the free list. Do not insert an exit probe for
* this function, it will be disabled by kprobe_flush_task if you do.
*/
kprobe_flush_task(current);

/* drop floating-point and debug-register state if it exists: */
current->thread.flags &= ~(IA64_THREAD_FPH_VALID | IA64_THREAD_DBG_VALID);
ia64_drop_fpu(current);
Expand Down
1 change: 0 additions & 1 deletion arch/powerpc/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,6 @@ void flush_thread(void)
if (t->flags & _TIF_ABI_PENDING)
t->flags ^= (_TIF_ABI_PENDING | _TIF_32BIT);
#endif
kprobe_flush_task(current);

#ifndef CONFIG_SMP
if (last_task_used_math == current)
Expand Down
4 changes: 0 additions & 4 deletions arch/powerpc/mm/4xx_mmu.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,11 @@ unsigned long __init mmu_mapin_ram(void)
pmd_t *pmdp;
unsigned long val = p | _PMD_SIZE_16M | _PAGE_HWEXEC | _PAGE_HWWRITE;

spin_lock(&init_mm.page_table_lock);
pmdp = pmd_offset(pgd_offset_k(v), v);
pmd_val(*pmdp++) = val;
pmd_val(*pmdp++) = val;
pmd_val(*pmdp++) = val;
pmd_val(*pmdp++) = val;
spin_unlock(&init_mm.page_table_lock);

v += LARGE_PAGE_SIZE_16M;
p += LARGE_PAGE_SIZE_16M;
Expand All @@ -127,10 +125,8 @@ unsigned long __init mmu_mapin_ram(void)
pmd_t *pmdp;
unsigned long val = p | _PMD_SIZE_4M | _PAGE_HWEXEC | _PAGE_HWWRITE;

spin_lock(&init_mm.page_table_lock);
pmdp = pmd_offset(pgd_offset_k(v), v);
pmd_val(*pmdp) = val;
spin_unlock(&init_mm.page_table_lock);

v += LARGE_PAGE_SIZE_4M;
p += LARGE_PAGE_SIZE_4M;
Expand Down
10 changes: 4 additions & 6 deletions arch/powerpc/mm/hugetlbpage.c
Original file line number Diff line number Diff line change
Expand Up @@ -287,15 +287,15 @@ static int open_high_hpage_areas(struct mm_struct *mm, u16 newareas)

int prepare_hugepage_range(unsigned long addr, unsigned long len)
{
int err;
int err = 0;

if ( (addr+len) < addr )
return -EINVAL;

if ((addr + len) < 0x100000000UL)
if (addr < 0x100000000UL)
err = open_low_hpage_areas(current->mm,
LOW_ESID_MASK(addr, len));
else
if ((addr + len) >= 0x100000000UL)
err = open_high_hpage_areas(current->mm,
HTLB_AREA_MASK(addr, len));
if (err) {
Expand Down Expand Up @@ -754,9 +754,7 @@ int hash_huge_page(struct mm_struct *mm, unsigned long access,
}

/*
* No need to use ldarx/stdcx here because all who
* might be updating the pte will hold the
* page_table_lock
* No need to use ldarx/stdcx here
*/
*ptep = __pte(new_pte & ~_PAGE_BUSY);

Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/mm/mem.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,7 +495,7 @@ EXPORT_SYMBOL(flush_icache_user_range);
* We use it to preload an HPTE into the hash table corresponding to
* the updated linux PTE.
*
* This must always be called with the mm->page_table_lock held
* This must always be called with the pte lock held.
*/
void update_mmu_cache(struct vm_area_struct *vma, unsigned long address,
pte_t pte)
Expand Down
6 changes: 6 additions & 0 deletions arch/powerpc/mm/tlb_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,12 @@ void flush_tlb_mm(struct mm_struct *mm)
return;
}

/*
* It is safe to go down the mm's list of vmas when called
* from dup_mmap, holding mmap_sem. It would also be safe from
* unmap_region or exit_mmap, but not from vmtruncate on SMP -
* but it seems dup_mmap is the only SMP case which gets here.
*/
for (mp = mm->mmap; mp != NULL; mp = mp->vm_next)
flush_range(mp->vm_mm, mp->vm_start, mp->vm_end);
FINISH_FLUSH;
Expand Down
4 changes: 2 additions & 2 deletions arch/powerpc/mm/tlb_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ static void pte_free_submit(struct pte_freelist_batch *batch)

void pgtable_free_tlb(struct mmu_gather *tlb, pgtable_free_t pgf)
{
/* This is safe as we are holding page_table_lock */
/* This is safe since tlb_gather_mmu has disabled preemption */
cpumask_t local_cpumask = cpumask_of_cpu(smp_processor_id());
struct pte_freelist_batch **batchp = &__get_cpu_var(pte_freelist_cur);

Expand Down Expand Up @@ -206,7 +206,7 @@ void __flush_tlb_pending(struct ppc64_tlb_batch *batch)

void pte_free_finish(void)
{
/* This is safe as we are holding page_table_lock */
/* This is safe since tlb_gather_mmu has disabled preemption */
struct pte_freelist_batch **batchp = &__get_cpu_var(pte_freelist_cur);

if (*batchp == NULL)
Expand Down
7 changes: 0 additions & 7 deletions arch/x86_64/kernel/process.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,13 +351,6 @@ void flush_thread(void)
struct task_struct *tsk = current;
struct thread_info *t = current_thread_info();

/*
* Remove function-return probe instances associated with this task
* and put them back on the free list. Do not insert an exit probe for
* this function, it will be disabled by kprobe_flush_task if you do.
*/
kprobe_flush_task(tsk);

if (t->flags & _TIF_ABI_PENDING)
t->flags ^= (_TIF_ABI_PENDING | _TIF_IA32);

Expand Down
21 changes: 9 additions & 12 deletions drivers/base/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ static struct kobj_type ktype_bus = {
decl_subsys(bus, &ktype_bus, NULL);


/* Manually detach a device from it's associated driver. */
/* Manually detach a device from its associated driver. */
static int driver_helper(struct device *dev, void *data)
{
const char *name = data;
Expand All @@ -151,14 +151,13 @@ static ssize_t driver_unbind(struct device_driver *drv,
int err = -ENODEV;

dev = bus_find_device(bus, NULL, (void *)buf, driver_helper);
if ((dev) &&
(dev->driver == drv)) {
if (dev && dev->driver == drv) {
device_release_driver(dev);
err = count;
}
if (err)
return err;
return count;
put_device(dev);
put_bus(bus);
return err;
}
static DRIVER_ATTR(unbind, S_IWUSR, NULL, driver_unbind);

Expand All @@ -175,16 +174,14 @@ static ssize_t driver_bind(struct device_driver *drv,
int err = -ENODEV;

dev = bus_find_device(bus, NULL, (void *)buf, driver_helper);
if ((dev) &&
(dev->driver == NULL)) {
if (dev && dev->driver == NULL) {
down(&dev->sem);
err = driver_probe_device(drv, dev);
up(&dev->sem);
put_device(dev);
}
if (err)
return err;
return count;
put_device(dev);
put_bus(bus);
return err;
}
static DRIVER_ATTR(bind, S_IWUSR, NULL, driver_bind);

Expand Down
Loading

0 comments on commit 26925c5

Please sign in to comment.