Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 262336
b: refs/heads/master
c: 750f463
h: refs/heads/master
v: v3
  • Loading branch information
Shawn Guo authored and Grant Likely committed Aug 3, 2011
1 parent abff231 commit ad1aae4
Show file tree
Hide file tree
Showing 123 changed files with 1,587 additions and 1,908 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: 14595f708eeb528fabcee339ed0b9e0a2ecec73f
refs/heads/master: 750f463a749e28464151ad26938d11b07b1c43cb
3 changes: 2 additions & 1 deletion trunk/Documentation/fault-injection/fault-injection.txt
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,8 @@ o provide a way to configure fault attributes
failslab, fail_page_alloc, and fail_make_request use this way.
Helper functions:

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

- module parameters

Expand Down
9 changes: 9 additions & 0 deletions trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,15 @@ 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: 3 additions & 10 deletions trunk/Documentation/frv/booting.txt
Original file line number Diff line number Diff line change
Expand Up @@ -106,20 +106,13 @@ separated by spaces:
To use the first on-chip serial port at baud rate 115200, no parity, 8
bits, and no flow control.

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

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:
This specifies the device upon which the root filesystem resides. 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: 0 additions & 1 deletion trunk/Documentation/ioctl/ioctl-number.txt
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ 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: 0 additions & 6 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -163,11 +163,6 @@ 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 @@ -2245,7 +2240,6 @@ 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: 0 additions & 14 deletions trunk/Documentation/m68k/kernel-options.txt
Original file line number Diff line number Diff line change
Expand Up @@ -129,20 +129,6 @@ 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 long sync_serial_ioctl(struct file *file,
static int 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));
}
err = 0;
ret = 0;

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

static int sync_serial_release(struct inode *inode, struct file *file)
Expand Down
3 changes: 0 additions & 3 deletions trunk/arch/cris/arch-v10/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@
#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,6 +11,8 @@

#ifdef __KERNEL__

#define __HAVE_ARCH_THREAD_INFO_ALLOCATOR

#ifndef __ASSEMBLY__
#include <asm/types.h>
#include <asm/processor.h>
Expand Down Expand Up @@ -65,10 +67,8 @@ 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_node(tsk, node) \
((struct thread_info *) __get_free_pages(GFP_KERNEL, 1))
#define alloc_thread_info(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: 0 additions & 38 deletions trunk/arch/tile/include/asm/Kbuild
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,3 @@ 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: 1 addition & 0 deletions trunk/arch/tile/include/asm/bug.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/bug.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/bugs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/bugs.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/cputime.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/cputime.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/device.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/device.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/div64.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/div64.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/emergency-restart.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/emergency-restart.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/errno.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/errno.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/fb.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/fb.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/fcntl.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/fcntl.h>
6 changes: 6 additions & 0 deletions trunk/arch/tile/include/asm/fixmap.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,12 @@ 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: 1 addition & 0 deletions trunk/arch/tile/include/asm/ioctl.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/ioctl.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/ioctls.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/ioctls.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/ipc.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/ipc.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/ipcbuf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/ipcbuf.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/irq_regs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/irq_regs.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/kdebug.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/kdebug.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/local.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/local.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/module.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/module.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/msgbuf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/msgbuf.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/mutex.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/mutex-dec.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/param.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/param.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/parport.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/parport.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/poll.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/poll.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/posix_types.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/posix_types.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/resource.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/resource.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/scatterlist.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/scatterlist.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/sembuf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/sembuf.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/serial.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/serial.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/shmbuf.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/shmbuf.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/shmparam.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/shmparam.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/socket.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/socket.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/sockios.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/sockios.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/statfs.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/statfs.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/termbits.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/termbits.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/termios.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/termios.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/types.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/types.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/ucontext.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/ucontext.h>
1 change: 1 addition & 0 deletions trunk/arch/tile/include/asm/xor.h
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
#include <asm-generic/xor.h>
41 changes: 0 additions & 41 deletions trunk/arch/tile/include/hv/drv_srom_intf.h

This file was deleted.

5 changes: 4 additions & 1 deletion trunk/arch/tile/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ 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 @@ -90,6 +91,8 @@ 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 @@ -104,7 +107,7 @@ void __init calibrate_delay(void)
void __init time_init(void)
{
/* Initialize and register the clock source. */
clocksource_register_hz(&cycle_counter_cs, cycles_per_sec);
clocksource_register(&cycle_counter_cs);

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

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

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

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

return IS_ERR(dir) ? PTR_ERR(dir) : 0;
return init_fault_attr_dentries(&fail_make_request,
"fail_make_request");
}

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

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

return IS_ERR(dir) ? PTR_ERR(dir) : 0;
return init_fault_attr_dentries(&fail_io_timeout, "fail_io_timeout");
}

late_initcall(fail_io_timeout_debugfs);
Expand Down
Loading

0 comments on commit ad1aae4

Please sign in to comment.