Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262335
b: refs/heads/master
c: 14595f7
h: refs/heads/master
i:
  262333: 8773eaa
  262331: 22a8499
  262327: 6b707fc
  262319: 49b7f49
  262303: 65f75a7
  262271: 38b4dff
v: v3
  • Loading branch information
Linus Torvalds committed Aug 4, 2011
1 parent 763fcb8 commit abff231
Show file tree
Hide file tree
Showing 118 changed files with 1,905 additions and 1,445 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: db9481c0476c6475d058ac7ecebb5a822b43cc99
refs/heads/master: 14595f708eeb528fabcee339ed0b9e0a2ecec73f
3 changes: 1 addition & 2 deletions trunk/Documentation/fault-injection/fault-injection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,8 +143,7 @@ o provide a way to configure fault attributes
failslab, fail_page_alloc, and fail_make_request use this way.
Helper functions:

init_fault_attr_dentries(entries, attr, name);
void cleanup_fault_attr_dentries(entries);
fault_create_debugfs_attr(name, parent, attr);

- module parameters

Expand Down
9 changes: 0 additions & 9 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -296,15 +296,6 @@ Who: Ravikiran Thirumalai <kiran@scalex86.org>

---------------------------

What: CONFIG_THERMAL_HWMON
When: January 2009
Why: This option was introduced just to allow older lm-sensors userspace
to keep working over the upgrade to 2.6.26. At the scheduled time of
removal fixed lm-sensors (2.x or 3.x) should be readily available.
Who: Rene Herman <rene.herman@gmail.com>

---------------------------

What: Code that is now under CONFIG_WIRELESS_EXT_SYSFS
(in net/core/net-sysfs.c)
When: After the only user (hal) has seen a release with the patches
Expand Down
13 changes: 10 additions & 3 deletions trunk/Documentation/frv/booting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,20 @@ separated by spaces:
To use the first on-chip serial port at baud rate 115200, no parity, 8
bits, and no flow control.

(*) root=/dev/<xxxx>
(*) root=<xxxx>

This specifies the device upon which the root filesystem resides. For
example:
This specifies the device upon which the root filesystem resides. It
may be specified by major and minor number, device path, or even
partition uuid, if supported. For example:

/dev/nfs NFS root filesystem
/dev/mtdblock3 Fourth RedBoot partition on the System Flash
PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF/PARTNROFF=1
first partition after the partition with the given UUID
253:0 Device with major 253 and minor 0

Authoritative information can be found in
"Documentation/kernel-parameters.txt".

(*) rw

Expand Down
1 change: 1 addition & 0 deletions trunk/Documentation/ioctl/ioctl-number.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ Code Seq#(hex) Include File Comments
<mailto:buk@buks.ipn.de>
0xA0 all linux/sdp/sdp.h Industrial Device Project
<mailto:kenji@bitgate.com>
0xA2 00-0F arch/tile/include/asm/hardwall.h
0xA3 80-8F Port ACL in development:
<mailto:tlewis@mindspring.com>
0xA3 90-9F linux/dtlk.h
Expand Down
6 changes: 6 additions & 0 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,11 @@ bytes respectively. Such letter suffixes can also be entirely omitted.

See also Documentation/power/pm.txt, pci=noacpi

acpi_rsdp= [ACPI,EFI,KEXEC]
Pass the RSDP address to the kernel, mostly used
on machines running EFI runtime service to boot the
second kernel for kdump.

acpi_apic_instance= [ACPI, IOAPIC]
Format: <int>
2: use 2nd APIC table, if available
Expand Down Expand Up @@ -2240,6 +2245,7 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
ro [KNL] Mount root device read-only on boot

root= [KNL] Root filesystem
See name_to_dev_t comment in init/do_mounts.c.

rootdelay= [KNL] Delay (in seconds) to pause before attempting to
mount the root filesystem
Expand Down
14 changes: 14 additions & 0 deletions trunk/Documentation/m68k/kernel-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,20 @@ decimal 11 is the major of SCSI CD-ROMs, and the minor 0 stands for
the first of these. You can find out all valid major numbers by
looking into include/linux/major.h.

In addition to major and minor numbers, if the device containing your
root partition uses a partition table format with unique partition
identifiers, then you may use them. For instance,
"root=PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF". It is also
possible to reference another partition on the same device using a
known partition UUID as the starting point. For example,
if partition 5 of the device has the UUID of
00112233-4455-6677-8899-AABBCCDDEEFF then partition 3 may be found as
follows:
PARTUUID=00112233-4455-6677-8899-AABBCCDDEEFF/PARTNROFF=-2

Authoritative information can be found in
"Documentation/kernel-parameters.txt".


2.2) ro, rw
-----------
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/cris/arch-v10/drivers/sync_serial.c
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ static int sync_serial_open(struct inode *inode, struct file *file);
static int sync_serial_release(struct inode *inode, struct file *file);
static unsigned int sync_serial_poll(struct file *filp, poll_table *wait);

static int sync_serial_ioctl(struct file *file,
static long sync_serial_ioctl(struct file *file,
unsigned int cmd, unsigned long arg);
static ssize_t sync_serial_write(struct file *file, const char *buf,
size_t count, loff_t *ppos);
Expand Down Expand Up @@ -625,11 +625,11 @@ static int sync_serial_open(struct inode *inode, struct file *file)
*R_IRQ_MASK1_SET = 1 << port->data_avail_bit;
DEBUG(printk(KERN_DEBUG "sser%d rec started\n", dev));
}
ret = 0;
err = 0;

out:
mutex_unlock(&sync_serial_mutex);
return ret;
return err;
}

static int sync_serial_release(struct inode *inode, struct file *file)
Expand Down
3 changes: 3 additions & 0 deletions trunk/arch/cris/arch-v10/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
#define crisv10_mask_irq(irq_nr) (*R_VECT_MASK_CLR = 1 << (irq_nr));
#define crisv10_unmask_irq(irq_nr) (*R_VECT_MASK_SET = 1 << (irq_nr));

extern void kgdb_init(void);
extern void breakpoint(void);

/* don't use set_int_vector, it bypasses the linux interrupt handlers. it is
* global just so that the kernel gdb can use it.
*/
Expand Down
6 changes: 3 additions & 3 deletions trunk/arch/cris/include/asm/thread_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

#ifdef __KERNEL__

#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR

#ifndef __ASSEMBLY__
#include <asm/types.h>
#include <asm/processor.h>
Expand Down Expand Up @@ -67,8 +65,10 @@ struct thread_info {

#define init_thread_info (init_thread_union.thread_info)

#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR
/* thread information allocation */
#define alloc_thread_info(tsk, node) ((struct thread_info *) __get_free_pages(GFP_KERNEL,1))
#define alloc_thread_info_node(tsk, node) \
((struct thread_info *) __get_free_pages(GFP_KERNEL, 1))
#define free_thread_info(ti) free_pages((unsigned long) (ti), 1)

#endif /* !__ASSEMBLY__ */
Expand Down
38 changes: 38 additions & 0 deletions trunk/arch/tile/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,41 @@ include include/asm-generic/Kbuild.asm

header-y += ucontext.h
header-y += hardwall.h

generic-y += bug.h
generic-y += bugs.h
generic-y += cputime.h
generic-y += device.h
generic-y += div64.h
generic-y += emergency-restart.h
generic-y += errno.h
generic-y += fb.h
generic-y += fcntl.h
generic-y += ioctl.h
generic-y += ioctls.h
generic-y += ipc.h
generic-y += ipcbuf.h
generic-y += irq_regs.h
generic-y += kdebug.h
generic-y += local.h
generic-y += module.h
generic-y += msgbuf.h
generic-y += mutex.h
generic-y += param.h
generic-y += parport.h
generic-y += poll.h
generic-y += posix_types.h
generic-y += resource.h
generic-y += scatterlist.h
generic-y += sembuf.h
generic-y += serial.h
generic-y += shmbuf.h
generic-y += shmparam.h
generic-y += socket.h
generic-y += sockios.h
generic-y += statfs.h
generic-y += termbits.h
generic-y += termios.h
generic-y += types.h
generic-y += ucontext.h
generic-y += xor.h
1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/bug.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/bugs.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/cputime.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/device.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/div64.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/emergency-restart.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/errno.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/fb.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/fcntl.h

This file was deleted.

6 changes: 0 additions & 6 deletions trunk/arch/tile/include/asm/fixmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ extern void __set_fixmap(enum fixed_addresses idx,

#define set_fixmap(idx, phys) \
__set_fixmap(idx, phys, PAGE_KERNEL)
/*
* Some hardware wants to get fixmapped without caching.
*/
#define set_fixmap_nocache(idx, phys) \
__set_fixmap(idx, phys, PAGE_KERNEL_NOCACHE)

#define clear_fixmap(idx) \
__set_fixmap(idx, 0, __pgprot(0))

Expand Down
1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/ioctl.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/ioctls.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/ipc.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/ipcbuf.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/irq_regs.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/kdebug.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/local.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/module.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/msgbuf.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/mutex.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/param.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/parport.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/poll.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/posix_types.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/resource.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/scatterlist.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/sembuf.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/serial.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/shmbuf.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/shmparam.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/socket.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/sockios.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/statfs.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/termbits.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/termios.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/types.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/ucontext.h

This file was deleted.

1 change: 0 additions & 1 deletion trunk/arch/tile/include/asm/xor.h

This file was deleted.

41 changes: 41 additions & 0 deletions trunk/arch/tile/include/hv/drv_srom_intf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
/*
* Copyright 2011 Tilera Corporation. All Rights Reserved.
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation, version 2.
*
* This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
* NON INFRINGEMENT. See the GNU General Public License for
* more details.
*/

/**
* @file drv_srom_intf.h
* Interface definitions for the SPI Flash ROM driver.
*/

#ifndef _SYS_HV_INCLUDE_DRV_SROM_INTF_H
#define _SYS_HV_INCLUDE_DRV_SROM_INTF_H

/** Read this offset to get the total device size. */
#define SROM_TOTAL_SIZE_OFF 0xF0000000

/** Read this offset to get the device sector size. */
#define SROM_SECTOR_SIZE_OFF 0xF0000004

/** Read this offset to get the device page size. */
#define SROM_PAGE_SIZE_OFF 0xF0000008

/** Write this offset to flush any pending writes. */
#define SROM_FLUSH_OFF 0xF1000000

/** Write this offset, plus the byte offset of the start of a sector, to
* erase a sector. Any write data is ignored, but there must be at least
* one byte of write data. Only applies when the driver is in MTD mode.
*/
#define SROM_ERASE_OFF 0xF2000000

#endif /* _SYS_HV_INCLUDE_DRV_SROM_INTF_H */
5 changes: 1 addition & 4 deletions trunk/arch/tile/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ static struct clocksource cycle_counter_cs = {
.rating = 300,
.read = clocksource_get_cycles,
.mask = CLOCKSOURCE_MASK(64),
.shift = 22, /* typical value, e.g. x86 tsc uses this */
.flags = CLOCK_SOURCE_IS_CONTINUOUS,
};

Expand All @@ -91,8 +90,6 @@ void __init setup_clock(void)
cycles_per_sec = hv_sysconf(HV_SYSCONF_CPU_SPEED);
sched_clock_mult =
clocksource_hz2mult(cycles_per_sec, SCHED_CLOCK_SHIFT);
cycle_counter_cs.mult =
clocksource_hz2mult(cycles_per_sec, cycle_counter_cs.shift);
}

void __init calibrate_delay(void)
Expand All @@ -107,7 +104,7 @@ void __init calibrate_delay(void)
void __init time_init(void)
{
/* Initialize and register the clock source. */
clocksource_register(&cycle_counter_cs);
clocksource_register_hz(&cycle_counter_cs, cycles_per_sec);

/* Start up the tile-timer interrupt source on the boot cpu. */
setup_tile_timer();
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/tile/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -836,8 +836,7 @@ void __init mem_init(void)
#endif

#ifdef CONFIG_FLATMEM
if (!mem_map)
BUG();
BUG_ON(!mem_map);
#endif

#ifdef CONFIG_HIGHMEM
Expand Down
6 changes: 4 additions & 2 deletions trunk/block/blk-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1368,8 +1368,10 @@ static bool should_fail_request(struct hd_struct *part, unsigned int bytes)

static int __init fail_make_request_debugfs(void)
{
return init_fault_attr_dentries(&fail_make_request,
"fail_make_request");
struct dentry *dir = fault_create_debugfs_attr("fail_make_request",
NULL, &fail_make_request);

return IS_ERR(dir) ? PTR_ERR(dir) : 0;
}

late_initcall(fail_make_request_debugfs);
Expand Down
5 changes: 4 additions & 1 deletion trunk/block/blk-timeout.c
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ int blk_should_fake_timeout(struct request_queue *q)

static int __init fail_io_timeout_debugfs(void)
{
return init_fault_attr_dentries(&fail_io_timeout, "fail_io_timeout");
struct dentry *dir = fault_create_debugfs_attr("fail_io_timeout",
NULL, &fail_io_timeout);

return IS_ERR(dir) ? PTR_ERR(dir) : 0;
}

late_initcall(fail_io_timeout_debugfs);
Expand Down
Loading

0 comments on commit abff231

Please sign in to comment.