Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 98105
b: refs/heads/master
c: dfcf753
h: refs/heads/master
i:
  98103: ecbf32d
v: v3
  • Loading branch information
Kyle McMartin committed Jun 13, 2008
1 parent 540aabb commit 6bfac05
Show file tree
Hide file tree
Showing 89 changed files with 534 additions and 1,228 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: fa8d84b78be10d0c455dd716f40152bb7003bd5b
refs/heads/master: dfcf753bd3fb09f336659d07b1c48db7e62772e0
5 changes: 0 additions & 5 deletions trunk/Documentation/cciss.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,6 @@ This driver is known to work with the following cards:
* SA E200
* SA E200i
* SA E500
* SA P212
* SA P410
* SA P410i
* SA P411
* SA P812

Detecting drive failures:
-------------------------
Expand Down
13 changes: 5 additions & 8 deletions trunk/MAINTAINERS
Original file line number Diff line number Diff line change
Expand Up @@ -995,8 +995,8 @@ L: netdev@vger.kernel.org
S: Supported

BROADCOM BNX2X 10 GIGABIT ETHERNET DRIVER
P: Eilon Greenstein
M: eilong@broadcom.com
P: Eliezer Tamir
M: eliezert@broadcom.com
L: netdev@vger.kernel.org
S: Supported

Expand Down Expand Up @@ -1202,7 +1202,6 @@ M: pj@sgi.com
M: menage@google.com
L: linux-kernel@vger.kernel.org
W: http://www.bullopensource.org/cpuset/
W: http://oss.sgi.com/projects/cpusets/
S: Supported

CRAMFS FILESYSTEM
Expand Down Expand Up @@ -3330,11 +3329,9 @@ L: video4linux-list@redhat.com
W: http://www.isely.net/pvrusb2/
S: Maintained

PXA2xx/PXA3xx SUPPORT
P: Eric Miao
M: eric.miao@marvell.com
P: Russell King
M: linux@arm.linux.org.uk
PXA2xx SUPPORT
P: Nicolas Pitre
M: nico@cam.org
L: linux-arm-kernel@lists.arm.linux.org.uk (subscribers-only)
S: Maintained

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-pxa/ssp.c
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ struct ssp_device *ssp_request(int port, const char *label)

mutex_unlock(&ssp_lock);

if (&ssp->node == &ssp_list)
if (ssp->port_id != port)
return NULL;

return ssp;
Expand Down
8 changes: 1 addition & 7 deletions trunk/arch/m68knommu/platform/coldfire/timers.c
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,7 @@ void hw_timer_init(void)

__raw_writew(MCFTIMER_TMR_DISABLE, TA(MCFTIMER_TMR));
mcftmr_cycles_per_jiffy = FREQ / HZ;
/*
* The coldfire timer runs from 0 to TRR included, then 0
* again and so on. It counts thus actually TRR + 1 steps
* for 1 tick, not TRR. So if you want n cycles,
* initialize TRR with n - 1.
*/
__raw_writetrr(mcftmr_cycles_per_jiffy - 1, TA(MCFTIMER_TRR));
__raw_writetrr(mcftmr_cycles_per_jiffy, TA(MCFTIMER_TRR));
__raw_writew(MCFTIMER_TMR_ENORI | MCFTIMER_TMR_CLK16 |
MCFTIMER_TMR_RESTART | MCFTIMER_TMR_ENABLE, TA(MCFTIMER_TMR));

Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/hpux/gate.S
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@
#include <asm/unistd.h>
#include <asm/errno.h>
#include <linux/linkage.h>
#include <linux/init.h>

.level LEVEL
__HEAD
.text

.import hpux_call_table
.import hpux_syscall_exit,code
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/hpux/wrappers.S
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,9 @@
#include <asm/assembly.h>
#include <asm/signal.h>
#include <linux/linkage.h>
#include <linux/init.h>

.level LEVEL
__HEAD
.text

/* These should probably go in a header file somewhere.
* They are duplicated in kernel/wrappers.S
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/kernel/entry.S
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
#include <asm/thread_info.h>

#include <linux/linkage.h>
#include <linux/init.h>

#ifdef CONFIG_64BIT
.level 2.0w
Expand Down Expand Up @@ -622,7 +621,7 @@
* the static part of the kernel address space.
*/

__HEAD
.text

.align PAGE_SIZE

Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/kernel/head.S
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ ENTRY(boot_args)
.word 0 /* arg3 */
END(boot_args)

__HEAD
.section .text.head
.align 4
.import init_thread_union,data
.import fault_vector_20,code /* IVA parisc 2.0 32 bit */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/kernel/hpmc.S
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
#include <asm/pdc.h>

#include <linux/linkage.h>
#include <linux/init.h>

/*
* stack for os_hpmc, the HPMC handler.
Expand Down Expand Up @@ -77,7 +76,7 @@ ENTRY(hpmc_pim_data)
.block HPMC_PIM_DATA_SIZE
END(hpmc_pim_data)

__HEAD
.text

.import intr_save, code
ENTRY(os_hpmc)
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/kernel/pacache.S
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,8 @@
#include <asm/pgtable.h>
#include <asm/cache.h>
#include <linux/linkage.h>
#include <linux/init.h>

__HEAD
.text
.align 128

ENTRY(flush_tlb_all_local)
Expand Down
2 changes: 1 addition & 1 deletion trunk/arch/parisc/kernel/perf_asm.S
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
; The coprocessor only needs to be enabled when
; starting/stopping the coprocessor with the pmenb/pmdis.
;
__HEAD
.text

ENTRY(perf_intrigue_enable_perf_counters)
.proc
Expand Down
13 changes: 6 additions & 7 deletions trunk/arch/parisc/kernel/real2.S
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <asm/assembly.h>

#include <linux/linkage.h>
#include <linux/init.h>

.section .bss
.export real_stack
Expand Down Expand Up @@ -40,7 +39,7 @@ save_cr_end:
/************************ 32-bit real-mode calls ***********************/
/* This can be called in both narrow and wide kernels */

__HEAD
.text

/* unsigned long real32_call_asm(unsigned int *sp,
* unsigned int *arg0p,
Expand Down Expand Up @@ -114,7 +113,7 @@ ENDPROC(real32_call_asm)
# define PUSH_CR(r, where) mfctl r, %r1 ! STREG,ma %r1, REG_SZ(where)
# define POP_CR(r, where) LDREG,mb -REG_SZ(where), %r1 ! mtctl %r1, r

__HEAD
.text
save_control_regs:
load32 PA(save_cr_space), %r28
PUSH_CR(%cr24, %r28)
Expand Down Expand Up @@ -146,7 +145,7 @@ restore_control_regs:
/* rfi_virt2real() and rfi_real2virt() could perhaps be adapted for
* more general-purpose use by the several places which need RFIs
*/
__HEAD
.text
.align 128
rfi_virt2real:
/* switch to real mode... */
Expand Down Expand Up @@ -181,7 +180,7 @@ rfi_v2r_1:
bv 0(%r2)
nop

__HEAD
.text
.align 128
rfi_real2virt:
rsm PSW_SM_I,%r0
Expand Down Expand Up @@ -219,7 +218,7 @@ rfi_r2v_1:

/************************ 64-bit real-mode calls ***********************/
/* This is only usable in wide kernels right now and will probably stay so */
__HEAD
.text
/* unsigned long real64_call_asm(unsigned long *sp,
* unsigned long *arg0p,
* unsigned long fn)
Expand Down Expand Up @@ -277,7 +276,7 @@ ENDPROC(real64_call_asm)

#endif

__HEAD
.text
/* http://lists.parisc-linux.org/hypermail/parisc-linux/10916.html
** GCC 3.3 and later has a new function in libgcc.a for
** comparing function pointers.
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/parisc/kernel/syscall.S
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
#include <asm/processor.h>

#include <linux/linkage.h>
#include <linux/init.h>

/* We fill the empty parts of the gateway page with
* something that will kill the kernel or a
Expand All @@ -27,7 +26,7 @@

.level LEVEL

__HEAD
.text

.import syscall_exit,code
.import syscall_exit_rfi,code
Expand Down Expand Up @@ -637,7 +636,7 @@ END(sys_call_table64)
All light-weight-syscall atomic operations
will use this set of locks
*/
.section .data, "aw"
.section .data
.align PAGE_SIZE
ENTRY(lws_lock_start)
/* lws locks */
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/parisc/lib/fixup.S
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include <asm/assembly.h>
#include <asm/errno.h>
#include <linux/linkage.h>
#include <linux/init.h>

#ifdef CONFIG_SMP
.macro get_fault_ip t1 t2
Expand Down Expand Up @@ -56,7 +55,7 @@

.level LEVEL

__HEAD
.text
.section .fixup, "ax"

/* get_user() fixups, store -EFAULT in r8, and 0 in r9 */
Expand Down
5 changes: 2 additions & 3 deletions trunk/arch/parisc/lib/lusercopy.S
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,11 @@
*/


.text

#include <asm/assembly.h>
#include <asm/errno.h>
#include <linux/linkage.h>
#include <linux/init.h>

__HEAD

/*
* get_sr gets the appropriate space value into
Expand Down
25 changes: 9 additions & 16 deletions trunk/arch/um/os-Linux/start_up.c
Original file line number Diff line number Diff line change
Expand Up @@ -121,10 +121,8 @@ static int stop_ptraced_child(int pid, int exitcode, int mustexit)
{
int status, n, ret = 0;

if (ptrace(PTRACE_CONT, pid, 0, 0) < 0) {
perror("stop_ptraced_child : ptrace failed");
return -1;
}
if (ptrace(PTRACE_CONT, pid, 0, 0) < 0)
fatal_perror("stop_ptraced_child : ptrace failed");
CATCH_EINTR(n = waitpid(pid, &status, 0));
if (!WIFEXITED(status) || (WEXITSTATUS(status) != exitcode)) {
int exit_with = WEXITSTATUS(status);
Expand Down Expand Up @@ -214,7 +212,7 @@ static void __init check_sysemu(void)
if (n < 0)
fatal_perror("check_sysemu : wait failed");
if (!WIFSTOPPED(status) || (WSTOPSIG(status) != SIGTRAP))
fatal("check_sysemu : expected SIGTRAP, got status = %d\n",
fatal("check_sysemu : expected SIGTRAP, got status = %d",
status);

if (ptrace(PTRACE_GETREGS, pid, 0, regs) < 0)
Expand Down Expand Up @@ -256,11 +254,9 @@ static void __init check_sysemu(void)

if (WIFSTOPPED(status) &&
(WSTOPSIG(status) == (SIGTRAP|0x80))) {
if (!count) {
non_fatal("check_ptrace : SYSEMU_SINGLESTEP "
"doesn't singlestep");
goto fail;
}
if (!count)
fatal("check_ptrace : SYSEMU_SINGLESTEP "
"doesn't singlestep");
n = ptrace(PTRACE_POKEUSR, pid, PT_SYSCALL_RET_OFFSET,
os_getpid());
if (n < 0)
Expand All @@ -270,12 +266,9 @@ static void __init check_sysemu(void)
}
else if (WIFSTOPPED(status) && (WSTOPSIG(status) == SIGTRAP))
count++;
else {
non_fatal("check_ptrace : expected SIGTRAP or "
"(SIGTRAP | 0x80), got status = %d\n",
status);
goto fail;
}
else
fatal("check_ptrace : expected SIGTRAP or "
"(SIGTRAP | 0x80), got status = %d", status);
}
if (stop_ptraced_child(pid, 0, 0) < 0)
goto fail_stopped;
Expand Down
4 changes: 2 additions & 2 deletions trunk/arch/um/os-Linux/sys-i386/registers.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

#include <errno.h>
#include <sys/ptrace.h>
#include <sys/user.h>
#include <asm/user.h>
#include "kern_constants.h"
#include "longjmp.h"
#include "user.h"
Expand Down Expand Up @@ -76,7 +76,7 @@ int put_fp_registers(int pid, unsigned long *regs)

void arch_init_registers(int pid)
{
struct user_fpxregs_struct fpx_regs;
struct user_fxsr_struct fpx_regs;
int err;

err = ptrace(PTRACE_GETFPXREGS, pid, 0, &fpx_regs);
Expand Down
34 changes: 0 additions & 34 deletions trunk/arch/x86/kernel/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
#include <linux/acpi.h>
#include <linux/bcd.h>
#include <linux/mc146818rtc.h>
#include <linux/platform_device.h>
#include <linux/pnp.h>

#include <asm/time.h>
#include <asm/vsyscall.h>
Expand Down Expand Up @@ -199,35 +197,3 @@ unsigned long long native_read_tsc(void)
}
EXPORT_SYMBOL(native_read_tsc);


static struct resource rtc_resources[] = {
[0] = {
.start = RTC_PORT(0),
.end = RTC_PORT(1),
.flags = IORESOURCE_IO,
},
[1] = {
.start = RTC_IRQ,
.end = RTC_IRQ,
.flags = IORESOURCE_IRQ,
}
};

static struct platform_device rtc_device = {
.name = "rtc_cmos",
.id = -1,
.resource = rtc_resources,
.num_resources = ARRAY_SIZE(rtc_resources),
};

static __init int add_rtc_cmos(void)
{
#ifdef CONFIG_PNP
if (!pnp_platform_devices)
platform_device_register(&rtc_device);
#else
platform_device_register(&rtc_device);
#endif /* CONFIG_PNP */
return 0;
}
device_initcall(add_rtc_cmos);
Loading

0 comments on commit 6bfac05

Please sign in to comment.