Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 298383
b: refs/heads/master
c: e47d854
h: refs/heads/master
i:
  298381: e6108d4
  298379: df8ac0f
  298375: 8a682ae
  298367: 82e8cc8
v: v3
  • Loading branch information
Amit Shah committed Mar 31, 2012
1 parent 6c4bff4 commit 9392da1
Show file tree
Hide file tree
Showing 164 changed files with 3,200 additions and 8,281 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: 8bb1f229527dee95644e0f8496980bb767c6f620
refs/heads/master: e47d854e57698d3be4579d2118f6057f9f12a17c

This file was deleted.

2 changes: 0 additions & 2 deletions trunk/Documentation/scsi/00-INDEX
Original file line number Diff line number Diff line change
Expand Up @@ -94,5 +94,3 @@ sym53c8xx_2.txt
- info on second generation driver for sym53c8xx based adapters
tmscsim.txt
- info on driver for AM53c974 based adapters
ufs.txt
- info on Universal Flash Storage(UFS) and UFS host controller driver.
4 changes: 0 additions & 4 deletions trunk/Documentation/scsi/st.txt
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,6 @@ MTSETDRVBUFFER
MT_ST_SYSV sets the SYSV semantics (mode)
MT_ST_NOWAIT enables immediate mode (i.e., don't wait for
the command to finish) for some commands (e.g., rewind)
MT_ST_NOWAIT_EOF enables immediate filemark mode (i.e. when
writing a filemark, don't wait for it to complete). Please
see the BASICS note about MTWEOFI with respect to the
possible dangers of writing immediate filemarks.
MT_ST_SILI enables setting the SILI bit in SCSI commands when
reading in variable block mode to enhance performance when
reading blocks shorter than the byte count; set this only
Expand Down
133 changes: 0 additions & 133 deletions trunk/Documentation/scsi/ufs.txt

This file was deleted.

7 changes: 3 additions & 4 deletions trunk/arch/blackfin/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,6 @@ static __init void memory_setup(void)
{
#ifdef CONFIG_MTD_UCLINUX
unsigned long mtd_phys = 0;
unsigned long n;
#endif
unsigned long max_mem;

Expand Down Expand Up @@ -594,9 +593,9 @@ static __init void memory_setup(void)
mtd_size = PAGE_ALIGN(*((unsigned long *)(mtd_phys + 8)));

# if defined(CONFIG_EXT2_FS) || defined(CONFIG_EXT3_FS)
n = ext2_image_size((void *)(mtd_phys + 0x400));
if (n)
mtd_size = PAGE_ALIGN(n * 1024);
if (*((unsigned short *)(mtd_phys + 0x438)) == EXT2_SUPER_MAGIC)
mtd_size =
PAGE_ALIGN(*((unsigned long *)(mtd_phys + 0x404)) << 10);
# endif

# if defined(CONFIG_CRAMFS)
Expand Down
31 changes: 4 additions & 27 deletions trunk/arch/parisc/include/asm/futex.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,29 +8,6 @@
#include <asm/atomic.h>
#include <asm/errno.h>

/* The following has to match the LWS code in syscall.S. We have
sixteen four-word locks. */

static inline void
_futex_spin_lock_irqsave(u32 __user *uaddr, unsigned long int *flags)
{
extern u32 lws_lock_start[];
long index = ((long)uaddr & 0xf0) >> 2;
arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index];
local_irq_save(*flags);
arch_spin_lock(s);
}

static inline void
_futex_spin_unlock_irqrestore(u32 __user *uaddr, unsigned long int *flags)
{
extern u32 lws_lock_start[];
long index = ((long)uaddr & 0xf0) >> 2;
arch_spinlock_t *s = (arch_spinlock_t *)&lws_lock_start[index];
arch_spin_unlock(s);
local_irq_restore(*flags);
}

static inline int
futex_atomic_op_inuser (int encoded_op, u32 __user *uaddr)
{
Expand All @@ -49,7 +26,7 @@ futex_atomic_op_inuser (int encoded_op, u32 __user *uaddr)

pagefault_disable();

_futex_spin_lock_irqsave(uaddr, &flags);
_atomic_spin_lock_irqsave(uaddr, flags);

switch (op) {
case FUTEX_OP_SET:
Expand Down Expand Up @@ -94,7 +71,7 @@ futex_atomic_op_inuser (int encoded_op, u32 __user *uaddr)
ret = -ENOSYS;
}

_futex_spin_unlock_irqrestore(uaddr, &flags);
_atomic_spin_unlock_irqrestore(uaddr, flags);

pagefault_enable();

Expand Down Expand Up @@ -136,7 +113,7 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,
* address. This should scale to a couple of CPUs.
*/

_futex_spin_lock_irqsave(uaddr, &flags);
_atomic_spin_lock_irqsave(uaddr, flags);

ret = get_user(val, uaddr);

Expand All @@ -145,7 +122,7 @@ futex_atomic_cmpxchg_inatomic(u32 *uval, u32 __user *uaddr,

*uval = val;

_futex_spin_unlock_irqrestore(uaddr, &flags);
_atomic_spin_unlock_irqrestore(uaddr, flags);

return ret;
}
Expand Down
3 changes: 2 additions & 1 deletion trunk/arch/parisc/kernel/smp.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,7 +290,8 @@ smp_cpu_init(int cpunum)
mb();

/* Well, support 2.4 linux scheme as well. */
if (cpu_online(cpunum)) {
if (cpu_isset(cpunum, cpu_online_map))
{
extern void machine_halt(void); /* arch/parisc.../process.c */

printk(KERN_CRIT "CPU#%d already initialized!\n", cpunum);
Expand Down
17 changes: 1 addition & 16 deletions trunk/arch/x86/kernel/cpu/perf_event.c
Original file line number Diff line number Diff line change
Expand Up @@ -1313,11 +1313,6 @@ static void __init pmu_check_apic(void)
pr_info("no hardware sampling interrupt available.\n");
}

static struct attribute_group x86_pmu_format_group = {
.name = "format",
.attrs = NULL,
};

static int __init init_hw_perf_events(void)
{
struct x86_pmu_quirk *quirk;
Expand Down Expand Up @@ -1392,7 +1387,6 @@ static int __init init_hw_perf_events(void)
}

x86_pmu.attr_rdpmc = 1; /* enable userspace RDPMC usage by default */
x86_pmu_format_group.attrs = x86_pmu.format_attrs;

pr_info("... version: %d\n", x86_pmu.version);
pr_info("... bit width: %d\n", x86_pmu.cntval_bits);
Expand Down Expand Up @@ -1621,9 +1615,6 @@ static int x86_pmu_event_idx(struct perf_event *event)
{
int idx = event->hw.idx;

if (!x86_pmu.attr_rdpmc)
return 0;

if (x86_pmu.num_counters_fixed && idx >= X86_PMC_IDX_FIXED) {
idx -= X86_PMC_IDX_FIXED;
idx |= 1 << 30;
Expand Down Expand Up @@ -1676,7 +1667,6 @@ static struct attribute_group x86_pmu_attr_group = {

static const struct attribute_group *x86_pmu_attr_groups[] = {
&x86_pmu_attr_group,
&x86_pmu_format_group,
NULL,
};

Expand Down Expand Up @@ -1708,19 +1698,14 @@ static struct pmu pmu = {
.flush_branch_stack = x86_pmu_flush_branch_stack,
};

void arch_perf_update_userpage(struct perf_event_mmap_page *userpg, u64 now)
void perf_update_user_clock(struct perf_event_mmap_page *userpg, u64 now)
{
userpg->cap_usr_time = 0;
userpg->cap_usr_rdpmc = x86_pmu.attr_rdpmc;
userpg->pmc_width = x86_pmu.cntval_bits;

if (!boot_cpu_has(X86_FEATURE_CONSTANT_TSC))
return;

if (!boot_cpu_has(X86_FEATURE_NONSTOP_TSC))
return;

userpg->cap_usr_time = 1;
userpg->time_mult = this_cpu_read(cyc2ns);
userpg->time_shift = CYC2NS_SCALE_FACTOR;
userpg->time_offset = this_cpu_read(cyc2ns_offset) - now;
Expand Down
1 change: 0 additions & 1 deletion trunk/arch/x86/kernel/cpu/perf_event.h
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,6 @@ struct x86_pmu {
* sysfs attrs
*/
int attr_rdpmc;
struct attribute **format_attrs;

/*
* CPU Hotplug hooks
Expand Down
18 changes: 0 additions & 18 deletions trunk/arch/x86/kernel/cpu/perf_event_amd.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,21 +404,6 @@ static void amd_pmu_cpu_dead(int cpu)
}
}

PMU_FORMAT_ATTR(event, "config:0-7,32-35");
PMU_FORMAT_ATTR(umask, "config:8-15" );
PMU_FORMAT_ATTR(edge, "config:18" );
PMU_FORMAT_ATTR(inv, "config:23" );
PMU_FORMAT_ATTR(cmask, "config:24-31" );

static struct attribute *amd_format_attr[] = {
&format_attr_event.attr,
&format_attr_umask.attr,
&format_attr_edge.attr,
&format_attr_inv.attr,
&format_attr_cmask.attr,
NULL,
};

static __initconst const struct x86_pmu amd_pmu = {
.name = "AMD",
.handle_irq = x86_pmu_handle_irq,
Expand All @@ -441,8 +426,6 @@ static __initconst const struct x86_pmu amd_pmu = {
.get_event_constraints = amd_get_event_constraints,
.put_event_constraints = amd_put_event_constraints,

.format_attrs = amd_format_attr,

.cpu_prepare = amd_pmu_cpu_prepare,
.cpu_starting = amd_pmu_cpu_starting,
.cpu_dead = amd_pmu_cpu_dead,
Expand Down Expand Up @@ -613,7 +596,6 @@ static __initconst const struct x86_pmu amd_pmu_f15h = {
.cpu_dead = amd_pmu_cpu_dead,
#endif
.cpu_starting = amd_pmu_cpu_starting,
.format_attrs = amd_format_attr,
};

__init int amd_pmu_init(void)
Expand Down
Loading

0 comments on commit 9392da1

Please sign in to comment.