Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88384
b: refs/heads/master
c: d237e5c
h: refs/heads/master
v: v3
  • Loading branch information
Jens Axboe committed Apr 15, 2008
1 parent 7b7ae7c commit f6da00b
Show file tree
Hide file tree
Showing 96 changed files with 184 additions and 530 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: 1076bb40585dc3a4ae6143ecc5a1654495b84c42
refs/heads/master: d237e5c7ce82b6c7e1aa50348520a0c5a47274fa
6 changes: 3 additions & 3 deletions trunk/Documentation/filesystems/seq_file.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ implementations; in most cases the start() function should check for a
"past end of file" condition and return NULL if need be.

For more complicated applications, the private field of the seq_file
structure can be used. There is also a special value which can be returned
structure can be used. There is also a special value whch can be returned
by the start() function called SEQ_START_TOKEN; it can be used if you wish
to instruct your show() function (described below) to print a header at the
top of the output. SEQ_START_TOKEN should only be used if the offset is
Expand Down Expand Up @@ -146,7 +146,7 @@ the four functions we have just defined:
This structure will be needed to tie our iterator to the /proc file in
a little bit.

It's worth noting that the iterator value returned by start() and
It's worth noting that the interator value returned by start() and
manipulated by the other functions is considered to be completely opaque by
the seq_file code. It can thus be anything that is useful in stepping
through the data to be output. Counters can be useful, but it could also be
Expand Down Expand Up @@ -262,7 +262,7 @@ routines useful:

These helpers will interpret pos as a position within the list and iterate
accordingly. Your start() and next() functions need only invoke the
seq_list_* helpers with a pointer to the appropriate list_head structure.
seq_list_* helpers with a pointer to the appropriate list_head structure.


The extra-simple version
Expand Down
8 changes: 4 additions & 4 deletions trunk/Documentation/networking/can.txt
Original file line number Diff line number Diff line change
Expand Up @@ -281,10 +281,10 @@ solution for a couple of reasons:
sa_family_t can_family;
int can_ifindex;
union {
/* transport protocol class address info (e.g. ISOTP) */
struct { canid_t rx_id, tx_id; } tp;

/* reserved for future CAN protocols address information */
struct { canid_t rx_id, tx_id; } tp16;
struct { canid_t rx_id, tx_id; } tp20;
struct { canid_t rx_id, tx_id; } mcnet;
struct { canid_t rx_id, tx_id; } isotp;
} can_addr;
};

Expand Down
7 changes: 4 additions & 3 deletions trunk/Documentation/vm/hugetlbpage.txt
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,10 @@ hugepages from the buddy allocator, if the normal pool is exhausted. As
these surplus hugepages go out of use, they are freed back to the buddy
allocator.

Caveat: Shrinking the pool via nr_hugepages such that it becomes less
than the number of hugepages in use will convert the balance to surplus
huge pages even if it would exceed the overcommit value. As long as
Caveat: Shrinking the pool via nr_hugepages while a surplus is in effect
will allow the number of surplus huge pages to exceed the overcommit
value, as the pool hugepages (which must have been in use for a surplus
hugepages to be allocated) will become surplus hugepages. As long as
this condition holds, however, no more surplus huge pages will be
allowed on the system until one of the two sysctls are increased
sufficiently, or the surplus huge pages go out of use and are freed.
Expand Down
14 changes: 3 additions & 11 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -2116,7 +2116,7 @@ M: reinette.chatre@intel.com
L: linux-wireless@vger.kernel.org
L: ipw3945-devel@lists.sourceforge.net
W: http://intellinuxwireless.org
T: git kernel.org:/pub/scm/linux/kernel/git/iwlwifi/iwlwifi-2.6.git
T: git git://git.kernel.org/pub/scm/linux/kernel/git/rchatre/iwlwifi-2.6.git
S: Supported

IOC3 ETHERNET DRIVER
Expand Down Expand Up @@ -2197,15 +2197,15 @@ S: Maintained
ISDN SUBSYSTEM
P: Karsten Keil
M: kkeil@suse.de
L: isdn4linux@listserv.isdn4linux.de (subscribers-only)
L: isdn4linux@listserv.isdn4linux.de
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)
P: Armin Schindler
M: mac@melware.de
L: isdn4linux@listserv.isdn4linux.de (subscribers-only)
L: isdn4linux@listserv.isdn4linux.de
W: http://www.melware.de
S: Maintained

Expand Down Expand Up @@ -3280,7 +3280,6 @@ L: linux-wireless@vger.kernel.org
L: rt2400-devel@lists.sourceforge.net
W: http://rt2x00.serialmonkey.com/
S: Maintained
T: git kernel.org:/pub/scm/linux/kernel/git/ivd/rt2x00.git
F: drivers/net/wireless/rt2x00/

RAMDISK RAM BLOCK DEVICE DRIVER
Expand Down Expand Up @@ -3343,13 +3342,6 @@ L: reiserfs-devel@vger.kernel.org
W: http://www.namesys.com
S: Supported

RFKILL
P: Ivo van Doorn
M: IvDoorn@gmail.com
L: netdev@vger.kernel.org
S: Maintained
F: net/rfkill

ROCKETPORT DRIVER
P: Comtrol Corp.
W: http://www.comtrol.com
Expand Down
7 changes: 1 addition & 6 deletions trunk/arch/ia64/pci/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,7 @@ pci_acpi_scan_root(struct acpi_device *device, int domain, int bus)
info.name = name;
acpi_walk_resources(device->handle, METHOD_NAME__CRS, add_window,
&info);
/*
* See arch/x86/pci/acpi.c.
* The desired pci bus might already be scanned in a quirk. We
* should handle the case here, but it appears that IA64 hasn't
* such quirk. So we just ignore the case now.
*/

pbus = pci_scan_bus_parented(NULL, bus, &pci_root_ops, controller);
if (pbus)
pcibios_setup_root_windows(pbus, controller);
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/kernel/signal.c
Original file line number Diff line number Diff line change
Expand Up @@ -534,8 +534,7 @@ insert_restart_trampoline(struct pt_regs *regs)
* Flushing one cacheline is cheap.
* "sync" on bigger (> 4 way) boxes is not.
*/
flush_user_dcache_range(regs->gr[30], regs->gr[30] + 4);
flush_user_icache_range(regs->gr[30], regs->gr[30] + 4);
flush_icache_range(regs->gr[30], regs->gr[30] + 4);

regs->gr[31] = regs->gr[30] + 8;
/* Preserve original r28. */
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/sh/boot/compressed/head_32.S
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

.text

#include <linux/linkage.h>
#include <asm/page.h>

.global startup
Expand Down
1 change: 1 addition & 0 deletions trunk/arch/sh/boot/compressed/head_64.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
* Modification for compressed loader:
* Copyright (C) 2002 Stuart Menefy (stuart.menefy@st.com)
*/
#include <linux/linkage.h>
#include <asm/cache.h>
#include <asm/cpu/mmu_context.h>
#include <asm/cpu/registers.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/process_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/mmu_context.h>
#include <asm/fpu.h>

struct task_struct *last_task_used_math = NULL;

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/ptrace_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
#include <asm/system.h>
#include <asm/processor.h>
#include <asm/mmu_context.h>
#include <asm/fpu.h>

/* This mask defines the bits of the SR which the user is not allowed to
change, which are everything except S, Q, M, PR, SZ, FR. */
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/sh_ksyms_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -149,4 +149,3 @@ EXPORT_SYMBOL(clear_page);
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(__clear_user);
EXPORT_SYMBOL(_ebss);
EXPORT_SYMBOL(empty_zero_page);
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/sh_ksyms_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ EXPORT_SYMBOL(__put_user_asm_l);
EXPORT_SYMBOL(__get_user_asm_l);
EXPORT_SYMBOL(copy_page);
EXPORT_SYMBOL(__copy_user);
EXPORT_SYMBOL(empty_zero_page);
EXPORT_SYMBOL(memcpy);
EXPORT_SYMBOL(__udelay);
EXPORT_SYMBOL(__ndelay);
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/signal_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
#include <asm/uaccess.h>
#include <asm/pgtable.h>
#include <asm/cacheflush.h>
#include <asm/fpu.h>

#define REG_RET 9
#define REG_ARG1 2
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/traps_32.c
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
#include <linux/limits.h>
#include <asm/system.h>
#include <asm/uaccess.h>
#include <asm/fpu.h>

#ifdef CONFIG_SH_KGDB
#include <asm/kgdb.h>
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/sh/kernel/traps_64.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include <asm/atomic.h>
#include <asm/processor.h>
#include <asm/pgtable.h>
#include <asm/fpu.h>

#undef DEBUG_EXCEPTION
#ifdef DEBUG_EXCEPTION
Expand Down
17 changes: 2 additions & 15 deletions trunk/arch/x86/pci/acpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -219,29 +219,16 @@ struct pci_bus * __devinit pci_acpi_scan_root(struct acpi_device *device, int do
if (pxm >= 0)
sd->node = pxm_to_node(pxm);
#endif
/*
* Maybe the desired pci bus has been already scanned. In such case
* it is unnecessary to scan the pci bus with the given domain,busnum.
*/
bus = pci_find_bus(domain, busnum);
if (bus) {
/*
* If the desired bus exits, the content of bus->sysdata will
* be replaced by sd.
*/
memcpy(bus->sysdata, sd, sizeof(*sd));
kfree(sd);
} else
bus = pci_scan_bus_parented(NULL, busnum, &pci_root_ops, sd);

bus = pci_scan_bus_parented(NULL, busnum, &pci_root_ops, sd);
if (!bus)
kfree(sd);

#ifdef CONFIG_ACPI_NUMA
if (bus != NULL) {
if (pxm >= 0) {
printk("bus %d -> pxm %d -> node %d\n",
busnum, pxm, pxm_to_node(pxm));
busnum, pxm, sd->node);
}
}
#endif
Expand Down
7 changes: 3 additions & 4 deletions trunk/drivers/acpi/bus.c
Original file line number Diff line number Diff line change
Expand Up @@ -373,11 +373,10 @@ int acpi_bus_receive_event(struct acpi_bus_event *event)
}

spin_lock_irqsave(&acpi_bus_event_lock, flags);
if (!list_empty(&acpi_bus_event_list)) {
entry = list_entry(acpi_bus_event_list.next,
struct acpi_bus_event, node);
entry =
list_entry(acpi_bus_event_list.next, struct acpi_bus_event, node);
if (entry)
list_del(&entry->node);
}
spin_unlock_irqrestore(&acpi_bus_event_lock, flags);

if (!entry)
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/leds/leds-ams-delta.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,6 @@ static struct platform_driver ams_delta_led_driver = {
.resume = ams_delta_led_resume,
.driver = {
.name = "ams-delta-led",
.owner = THIS_MODULE,
},
};

Expand All @@ -160,4 +159,3 @@ module_exit(ams_delta_led_exit);
MODULE_AUTHOR("Jonathan McDowell <noodles@earth.li>");
MODULE_DESCRIPTION("Amstrad Delta LED driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:ams-delta-led");
3 changes: 0 additions & 3 deletions trunk/drivers/leds/leds-atmel-pwm.c
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,6 @@ static int __exit pwmled_remove(struct platform_device *pdev)
return 0;
}

/* work with hotplug and coldplug */
MODULE_ALIAS("platform:leds-atmel-pwm");

static struct platform_driver pwmled_driver = {
.driver = {
.name = "leds-atmel-pwm",
Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/leds/leds-clevo-mail.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,6 @@ static struct platform_driver clevo_mail_led_driver = {
.resume = clevo_mail_led_resume,
.driver = {
.name = KBUILD_MODNAME,
.owner = THIS_MODULE,
},
};

Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/leds/leds-cm-x270.c
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ static struct platform_driver cmx270led_driver = {
#endif
.driver = {
.name = "cm-x270-led",
.owner = THIS_MODULE,
},
};

Expand All @@ -121,4 +120,3 @@ module_exit(cmx270led_exit);
MODULE_AUTHOR("Mike Rapoport <mike@compulab.co.il>");
MODULE_DESCRIPTION("CM-x270 LED driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:cm-x270-led");
3 changes: 0 additions & 3 deletions trunk/drivers/leds/leds-cobalt-qube.c
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,6 @@ static int __devexit cobalt_qube_led_remove(struct platform_device *pdev)
return 0;
}

/* work with hotplug and coldplug */
MODULE_ALIAS("platform:cobalt-qube-leds");

static struct platform_driver cobalt_qube_led_driver = {
.probe = cobalt_qube_led_probe,
.remove = __devexit_p(cobalt_qube_led_remove),
Expand Down
2 changes: 0 additions & 2 deletions trunk/drivers/leds/leds-corgi.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ static struct platform_driver corgiled_driver = {
#endif
.driver = {
.name = "corgi-led",
.owner = THIS_MODULE,
},
};

Expand All @@ -119,4 +118,3 @@ module_exit(corgiled_exit);
MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>");
MODULE_DESCRIPTION("Corgi LED driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:corgi-led");
1 change: 0 additions & 1 deletion trunk/drivers/leds/leds-gpio.c
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,3 @@ module_exit(gpio_led_exit);
MODULE_AUTHOR("Raphael Assenat <raph@8d.com>");
MODULE_DESCRIPTION("GPIO LED driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:leds-gpio");
2 changes: 0 additions & 2 deletions trunk/drivers/leds/leds-h1940.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ static int h1940leds_remove(struct platform_device *pdev)
static struct platform_driver h1940leds_driver = {
.driver = {
.name = "h1940-leds",
.owner = THIS_MODULE,
},
.probe = h1940leds_probe,
.remove = h1940leds_remove,
Expand All @@ -162,4 +161,3 @@ module_exit(h1940leds_exit);
MODULE_AUTHOR("Arnaud Patard <arnaud.patard@rtp-net.org>");
MODULE_DESCRIPTION("LED driver for the iPAQ H1940");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:h1940-leds");
4 changes: 0 additions & 4 deletions trunk/drivers/leds/leds-hp6xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,9 +90,6 @@ static int hp6xxled_remove(struct platform_device *pdev)
return 0;
}

/* work with hotplug and coldplug */
MODULE_ALIAS("platform:hp6xx-led");

static struct platform_driver hp6xxled_driver = {
.probe = hp6xxled_probe,
.remove = hp6xxled_remove,
Expand All @@ -102,7 +99,6 @@ static struct platform_driver hp6xxled_driver = {
#endif
.driver = {
.name = "hp6xx-led",
.owner = THIS_MODULE,
},
};

Expand Down
1 change: 0 additions & 1 deletion trunk/drivers/leds/leds-s3c24xx.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,4 +160,3 @@ module_exit(s3c24xx_led_exit);
MODULE_AUTHOR("Ben Dooks <ben@simtec.co.uk>");
MODULE_DESCRIPTION("S3C24XX LED driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:s3c24xx_led");
2 changes: 0 additions & 2 deletions trunk/drivers/leds/leds-spitz.c
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ static struct platform_driver spitzled_driver = {
#endif
.driver = {
.name = "spitz-led",
.owner = THIS_MODULE,
},
};

Expand All @@ -125,4 +124,3 @@ module_exit(spitzled_exit);
MODULE_AUTHOR("Richard Purdie <rpurdie@openedhand.com>");
MODULE_DESCRIPTION("Spitz LED driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:spitz-led");
2 changes: 0 additions & 2 deletions trunk/drivers/leds/leds-tosa.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,6 @@ static struct platform_driver tosaled_driver = {
.resume = tosaled_resume,
.driver = {
.name = "tosa-led",
.owner = THIS_MODULE,
},
};

Expand All @@ -129,4 +128,3 @@ module_exit(tosaled_exit);
MODULE_AUTHOR("Dirk Opfer <Dirk@Opfer-Online.de>");
MODULE_DESCRIPTION("Tosa LED driver");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:tosa-led");
2 changes: 0 additions & 2 deletions trunk/drivers/misc/atmel-ssc.c
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,6 @@ static struct platform_driver ssc_driver = {
.remove = __devexit_p(ssc_remove),
.driver = {
.name = "ssc",
.owner = THIS_MODULE,
},
};

Expand All @@ -173,4 +172,3 @@ module_exit(ssc_exit);
MODULE_AUTHOR("Hans-Christian Egtvedt <hcegtvedt@atmel.com>");
MODULE_DESCRIPTION("SSC driver for Atmel AVR32 and AT91");
MODULE_LICENSE("GPL");
MODULE_ALIAS("platform:ssc");
Loading

0 comments on commit f6da00b

Please sign in to comment.