Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 166927
b: refs/heads/master
c: 19d031e
h: refs/heads/master
i:
  166925: 7f2edd0
  166923: 0c31c16
  166919: e8f63e8
  166911: ef70879
v: v3
  • Loading branch information
Linus Torvalds committed Oct 5, 2009
1 parent fae9a53 commit 5868af0
Show file tree
Hide file tree
Showing 124 changed files with 2,434 additions and 1,017 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: 3da0dd433dc399a8c0124d0614d82a09b6a49bce
refs/heads/master: 19d031e052bc213cdcbee70696d476136994b8c1
28 changes: 28 additions & 0 deletions trunk/Documentation/ABI/testing/sysfs-bus-pci-devices-cciss
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,31 @@ Date: March 2009
Kernel Version: 2.6.30
Contact: iss_storagedev@hp.com
Description: A symbolic link to /sys/block/cciss!cXdY

Where: /sys/bus/pci/devices/<dev>/ccissX/rescan
Date: August 2009
Kernel Version: 2.6.31
Contact: iss_storagedev@hp.com
Description: Kicks of a rescan of the controller to discover logical
drive topology changes.

Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/lunid
Date: August 2009
Kernel Version: 2.6.31
Contact: iss_storagedev@hp.com
Description: Displays the 8-byte LUN ID used to address logical
drive Y of controller X.

Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/raid_level
Date: August 2009
Kernel Version: 2.6.31
Contact: iss_storagedev@hp.com
Description: Displays the RAID level of logical drive Y of
controller X.

Where: /sys/bus/pci/devices/<dev>/ccissX/cXdY/usage_count
Date: August 2009
Kernel Version: 2.6.31
Contact: iss_storagedev@hp.com
Description: Displays the usage count (number of opens) of logical drive Y
of controller X.
7 changes: 4 additions & 3 deletions trunk/Documentation/hwmon/ltc4215
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,13 @@ Usage Notes
-----------

This driver does not probe for LTC4215 devices, due to the fact that some
of the possible addresses are unfriendly to probing. You will need to use
the "force" parameter to tell the driver where to find the device.
of the possible addresses are unfriendly to probing. You will have to
instantiate the devices explicitly.

Example: the following will load the driver for an LTC4215 at address 0x44
on I2C bus #0:
$ modprobe ltc4215 force=0,0x44
$ modprobe ltc4215
$ echo ltc4215 0x44 > /sys/bus/i2c/devices/i2c-0/new_device


Sysfs entries
Expand Down
7 changes: 4 additions & 3 deletions trunk/Documentation/hwmon/ltc4245
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,13 @@ Usage Notes
-----------

This driver does not probe for LTC4245 devices, due to the fact that some
of the possible addresses are unfriendly to probing. You will need to use
the "force" parameter to tell the driver where to find the device.
of the possible addresses are unfriendly to probing. You will have to
instantiate the devices explicitly.

Example: the following will load the driver for an LTC4245 at address 0x23
on I2C bus #1:
$ modprobe ltc4245 force=1,0x23
$ modprobe ltc4245
$ echo ltc4245 0x23 > /sys/bus/i2c/devices/i2c-1/new_device


Sysfs entries
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/i2c/instantiating-devices
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ segment, the address is sufficient to uniquely identify the device to be
deleted.

Example:
# echo eeprom 0x50 > /sys/class/i2c-adapter/i2c-3/new_device
# echo eeprom 0x50 > /sys/bus/i2c/devices/i2c-3/new_device

While this interface should only be used when in-kernel device declaration
can't be done, there is a variety of cases where it can be helpful:
Expand Down
1 change: 1 addition & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ and is between 256 and 4096 characters. It is defined in the file
earlyprintk= [X86,SH,BLACKFIN]
earlyprintk=vga
earlyprintk=serial[,ttySn[,baudrate]]
earlyprintk=ttySn[,baudrate]
earlyprintk=dbgp[debugController#]

Append ",keep" to not disable it when the real console
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,12 @@ General Remarks

Valid addresses for the MAX6875 are 0x50 and 0x52.
Valid addresses for the MAX6874 are 0x50, 0x52, 0x54 and 0x56.
The driver does not probe any address, so you must force the address.
The driver does not probe any address, so you explicitly instantiate the
devices.

Example:
$ modprobe max6875 force=0,0x50
$ modprobe max6875
$ echo max6875 0x50 > /sys/bus/i2c/devices/i2c-0/new_device

The MAX6874/MAX6875 ignores address bit 0, so this driver attaches to multiple
addresses. For example, for address 0x50, it also reserves 0x51.
Expand Down
6 changes: 3 additions & 3 deletions trunk/Documentation/w1/masters/ds2482
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ General Remarks

Valid addresses are 0x18, 0x19, 0x1a, and 0x1b.
However, the device cannot be detected without writing to the i2c bus, so no
detection is done.
You should force the device address.
detection is done. You should instantiate the device explicitly.

$ modprobe ds2482 force=0,0x18
$ modprobe ds2482
$ echo ds2482 0x18 > /sys/bus/i2c/devices/i2c-0/new_device

7 changes: 7 additions & 0 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,13 @@ W: http://www.lesswatts.org/projects/acpi/
S: Supported
F: drivers/acpi/fan.c

ACPI PROCESSOR AGGREGATOR DRIVER
M: Shaohua Li <shaohua.li@intel.com>
L: linux-acpi@vger.kernel.org
W: http://www.lesswatts.org/projects/acpi/
S: Supported
F: drivers/acpi/acpi_pad.c

ACPI THERMAL DRIVER
M: Zhang Rui <rui.zhang@intel.com>
L: linux-acpi@vger.kernel.org
Expand Down
2 changes: 1 addition & 1 deletion trunk/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
VERSION = 2
PATCHLEVEL = 6
SUBLEVEL = 32
EXTRAVERSION = -rc2
EXTRAVERSION = -rc3
NAME = Man-Eating Seals of Antiquity

# *DOCUMENTATION*
Expand Down
28 changes: 14 additions & 14 deletions trunk/arch/m68knommu/kernel/asm-offsets.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,25 +45,25 @@ int main(void)
DEFINE(THREAD_FPSTATE, offsetof(struct thread_struct, fpstate));

/* offsets into the pt_regs */
DEFINE(PT_D0, offsetof(struct pt_regs, d0));
DEFINE(PT_ORIG_D0, offsetof(struct pt_regs, orig_d0));
DEFINE(PT_D1, offsetof(struct pt_regs, d1));
DEFINE(PT_D2, offsetof(struct pt_regs, d2));
DEFINE(PT_D3, offsetof(struct pt_regs, d3));
DEFINE(PT_D4, offsetof(struct pt_regs, d4));
DEFINE(PT_D5, offsetof(struct pt_regs, d5));
DEFINE(PT_A0, offsetof(struct pt_regs, a0));
DEFINE(PT_A1, offsetof(struct pt_regs, a1));
DEFINE(PT_A2, offsetof(struct pt_regs, a2));
DEFINE(PT_PC, offsetof(struct pt_regs, pc));
DEFINE(PT_SR, offsetof(struct pt_regs, sr));
DEFINE(PT_OFF_D0, offsetof(struct pt_regs, d0));
DEFINE(PT_OFF_ORIG_D0, offsetof(struct pt_regs, orig_d0));
DEFINE(PT_OFF_D1, offsetof(struct pt_regs, d1));
DEFINE(PT_OFF_D2, offsetof(struct pt_regs, d2));
DEFINE(PT_OFF_D3, offsetof(struct pt_regs, d3));
DEFINE(PT_OFF_D4, offsetof(struct pt_regs, d4));
DEFINE(PT_OFF_D5, offsetof(struct pt_regs, d5));
DEFINE(PT_OFF_A0, offsetof(struct pt_regs, a0));
DEFINE(PT_OFF_A1, offsetof(struct pt_regs, a1));
DEFINE(PT_OFF_A2, offsetof(struct pt_regs, a2));
DEFINE(PT_OFF_PC, offsetof(struct pt_regs, pc));
DEFINE(PT_OFF_SR, offsetof(struct pt_regs, sr));

#ifdef CONFIG_COLDFIRE
/* bitfields are a bit difficult */
DEFINE(PT_FORMATVEC, offsetof(struct pt_regs, sr) - 2);
DEFINE(PT_OFF_FORMATVEC, offsetof(struct pt_regs, sr) - 2);
#else
/* bitfields are a bit difficult */
DEFINE(PT_VECTOR, offsetof(struct pt_regs, pc) + 4);
DEFINE(PT_OFF_VECTOR, offsetof(struct pt_regs, pc) + 4);
#endif

/* signal defines */
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/m68knommu/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
ENTRY(buserr)
SAVE_ALL
moveq #-1,%d0
movel %d0,%sp@(PT_ORIG_D0)
movel %d0,%sp@(PT_OFF_ORIG_D0)
movel %sp,%sp@- /* stack frame pointer argument */
jsr buserr_c
addql #4,%sp
Expand All @@ -55,7 +55,7 @@ ENTRY(buserr)
ENTRY(trap)
SAVE_ALL
moveq #-1,%d0
movel %d0,%sp@(PT_ORIG_D0)
movel %d0,%sp@(PT_OFF_ORIG_D0)
movel %sp,%sp@- /* stack frame pointer argument */
jsr trap_c
addql #4,%sp
Expand All @@ -67,7 +67,7 @@ ENTRY(trap)
ENTRY(dbginterrupt)
SAVE_ALL
moveq #-1,%d0
movel %d0,%sp@(PT_ORIG_D0)
movel %d0,%sp@(PT_OFF_ORIG_D0)
movel %sp,%sp@- /* stack frame pointer argument */
jsr dbginterrupt_c
addql #4,%sp
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/m68knommu/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ void free_initrd_mem(unsigned long start, unsigned long end)
totalram_pages++;
pages++;
}
printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages);
printk (KERN_NOTICE "Freeing initrd memory: %dk freed\n", pages * (PAGE_SIZE / 1024));
}
#endif

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/m68knommu/platform/5206e/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <asm/mcfsim.h>
#include <asm/mcfuart.h>
#include <asm/mcfdma.h>
#include <asm/mcfuart.h>

/***************************************************************************/

Expand Down
32 changes: 16 additions & 16 deletions trunk/arch/m68knommu/platform/68328/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -39,25 +39,25 @@
.globl inthandler7

badsys:
movel #-ENOSYS,%sp@(PT_D0)
movel #-ENOSYS,%sp@(PT_OFF_D0)
jra ret_from_exception

do_trace:
movel #-ENOSYS,%sp@(PT_D0) /* needed for strace*/
movel #-ENOSYS,%sp@(PT_OFF_D0) /* needed for strace*/
subql #4,%sp
SAVE_SWITCH_STACK
jbsr syscall_trace
RESTORE_SWITCH_STACK
addql #4,%sp
movel %sp@(PT_ORIG_D0),%d1
movel %sp@(PT_OFF_ORIG_D0),%d1
movel #-ENOSYS,%d0
cmpl #NR_syscalls,%d1
jcc 1f
lsl #2,%d1
lea sys_call_table, %a0
jbsr %a0@(%d1)

1: movel %d0,%sp@(PT_D0) /* save the return value */
1: movel %d0,%sp@(PT_OFF_D0) /* save the return value */
subql #4,%sp /* dummy return address */
SAVE_SWITCH_STACK
jbsr syscall_trace
Expand All @@ -75,7 +75,7 @@ ENTRY(system_call)
jbsr set_esp0
addql #4,%sp

movel %sp@(PT_ORIG_D0),%d0
movel %sp@(PT_OFF_ORIG_D0),%d0

movel %sp,%d1 /* get thread_info pointer */
andl #-THREAD_SIZE,%d1
Expand All @@ -88,10 +88,10 @@ ENTRY(system_call)
lea sys_call_table,%a0
movel %a0@(%d0), %a0
jbsr %a0@
movel %d0,%sp@(PT_D0) /* save the return value*/
movel %d0,%sp@(PT_OFF_D0) /* save the return value*/

ret_from_exception:
btst #5,%sp@(PT_SR) /* check if returning to kernel*/
btst #5,%sp@(PT_OFF_SR) /* check if returning to kernel*/
jeq Luser_return /* if so, skip resched, signals*/

Lkernel_return:
Expand Down Expand Up @@ -133,7 +133,7 @@ Lreturn:
*/
inthandler1:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -144,7 +144,7 @@ inthandler1:

inthandler2:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -155,7 +155,7 @@ inthandler2:

inthandler3:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -166,7 +166,7 @@ inthandler3:

inthandler4:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -177,7 +177,7 @@ inthandler4:

inthandler5:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -188,7 +188,7 @@ inthandler5:

inthandler6:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -199,7 +199,7 @@ inthandler6:

inthandler7:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -210,7 +210,7 @@ inthandler7:

inthandler:
SAVE_ALL
movew %sp@(PT_VECTOR), %d0
movew %sp@(PT_OFF_VECTOR), %d0
and #0x3ff, %d0

movel %sp,%sp@-
Expand All @@ -224,7 +224,7 @@ ret_from_interrupt:
2:
RESTORE_ALL
1:
moveb %sp@(PT_SR), %d0
moveb %sp@(PT_OFF_SR), %d0
and #7, %d0
jhi 2b

Expand Down
Loading

0 comments on commit 5868af0

Please sign in to comment.