[PATCH] mips: nuke trailing whitespace
Signed-off-by: Ralf Baechle <ralf@linux-mips.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
committed by
Linus Torvalds
parent
875d43e72b
commit
42a3b4f25a
@@ -103,7 +103,7 @@ jiffies_to_compat_timeval(unsigned long jiffies, struct compat_timeval *value)
|
||||
* Convert jiffies to nanoseconds and seperate with
|
||||
* one divide.
|
||||
*/
|
||||
u64 nsec = (u64)jiffies * TICK_NSEC;
|
||||
u64 nsec = (u64)jiffies * TICK_NSEC;
|
||||
value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &value->tv_usec);
|
||||
value->tv_usec /= NSEC_PER_USEC;
|
||||
}
|
||||
|
@@ -105,7 +105,7 @@ jiffies_to_compat_timeval(unsigned long jiffies, struct compat_timeval *value)
|
||||
* Convert jiffies to nanoseconds and seperate with
|
||||
* one divide.
|
||||
*/
|
||||
u64 nsec = (u64)jiffies * TICK_NSEC;
|
||||
u64 nsec = (u64)jiffies * TICK_NSEC;
|
||||
value->tv_sec = div_long_long_rem(nsec, NSEC_PER_SEC, &value->tv_usec);
|
||||
value->tv_usec /= NSEC_PER_USEC;
|
||||
}
|
||||
|
@@ -137,7 +137,7 @@ static inline void check_mult_sh(void)
|
||||
for (i = 0; i < 8; i++)
|
||||
if (v1[i] != w[i])
|
||||
bug = 1;
|
||||
|
||||
|
||||
if (bug == 0) {
|
||||
printk("no.\n");
|
||||
return;
|
||||
@@ -149,7 +149,7 @@ static inline void check_mult_sh(void)
|
||||
for (i = 0; i < 8; i++)
|
||||
if (v2[i] != w[i])
|
||||
fix = 0;
|
||||
|
||||
|
||||
if (fix == 1) {
|
||||
printk("yes.\n");
|
||||
return;
|
||||
|
@@ -687,8 +687,8 @@ void handle_exception (struct gdb_regs *regs)
|
||||
* acquire the big kgdb spinlock
|
||||
*/
|
||||
if (!spin_trylock(&kgdb_lock)) {
|
||||
/*
|
||||
* some other CPU has the lock, we should go back to
|
||||
/*
|
||||
* some other CPU has the lock, we should go back to
|
||||
* receive the gdb_wait IPC
|
||||
*/
|
||||
return;
|
||||
@@ -703,7 +703,7 @@ void handle_exception (struct gdb_regs *regs)
|
||||
async_bp.addr = 0;
|
||||
}
|
||||
|
||||
/*
|
||||
/*
|
||||
* acquire the CPU spinlocks
|
||||
*/
|
||||
for (i = num_online_cpus()-1; i >= 0; i--)
|
||||
@@ -894,7 +894,7 @@ void handle_exception (struct gdb_regs *regs)
|
||||
ptr = &input_buffer[1];
|
||||
if (hexToLong(&ptr, &addr))
|
||||
regs->cp0_epc = addr;
|
||||
|
||||
|
||||
goto exit_kgdb_exception;
|
||||
break;
|
||||
|
||||
@@ -1001,7 +1001,7 @@ void breakpoint(void)
|
||||
return;
|
||||
|
||||
__asm__ __volatile__(
|
||||
".globl breakinst\n\t"
|
||||
".globl breakinst\n\t"
|
||||
".set\tnoreorder\n\t"
|
||||
"nop\n"
|
||||
"breakinst:\tbreak\n\t"
|
||||
@@ -1014,7 +1014,7 @@ void breakpoint(void)
|
||||
void async_breakpoint(void)
|
||||
{
|
||||
__asm__ __volatile__(
|
||||
".globl async_breakinst\n\t"
|
||||
".globl async_breakinst\n\t"
|
||||
".set\tnoreorder\n\t"
|
||||
"nop\n"
|
||||
"async_breakinst:\tbreak\n\t"
|
||||
|
@@ -246,10 +246,10 @@ NESTED(nmi_handler, PT_SIZE, sp)
|
||||
LONG_L a1, PT_EPC(sp)
|
||||
#if CONFIG_32BIT
|
||||
PRINT("Got \nexception at %08lx\012")
|
||||
#endif
|
||||
#endif
|
||||
#if CONFIG_64BIT
|
||||
PRINT("Got \nexception at %016lx\012")
|
||||
#endif
|
||||
#endif
|
||||
.endm
|
||||
|
||||
.macro __BUILD_count exception
|
||||
|
@@ -27,7 +27,7 @@ long sys_ioctl(unsigned int fd, unsigned int cmd, unsigned long arg);
|
||||
#include "compat_ioctl.c"
|
||||
|
||||
typedef int (* ioctl32_handler_t)(unsigned int, unsigned int, unsigned long, struct file *);
|
||||
|
||||
|
||||
#define COMPATIBLE_IOCTL(cmd) HANDLE_IOCTL((cmd),sys_ioctl)
|
||||
#define HANDLE_IOCTL(cmd,handler) { (cmd), (ioctl32_handler_t)(handler), NULL },
|
||||
#define IOCTL_TABLE_START \
|
||||
|
@@ -77,7 +77,7 @@ int show_interrupts(struct seq_file *p, void *v)
|
||||
if (i < NR_IRQS) {
|
||||
spin_lock_irqsave(&irq_desc[i].lock, flags);
|
||||
action = irq_desc[i].action;
|
||||
if (!action)
|
||||
if (!action)
|
||||
goto skip;
|
||||
seq_printf(p, "%3d: ",i);
|
||||
#ifndef CONFIG_SMP
|
||||
|
@@ -313,7 +313,7 @@ asmlinkage int sys32_sysinfo(struct sysinfo32 *info)
|
||||
struct sysinfo s;
|
||||
int ret, err;
|
||||
mm_segment_t old_fs = get_fs ();
|
||||
|
||||
|
||||
set_fs (KERNEL_DS);
|
||||
ret = sys_sysinfo(&s);
|
||||
set_fs (old_fs);
|
||||
@@ -560,7 +560,7 @@ struct ipc64_perm32 {
|
||||
compat_gid_t gid;
|
||||
compat_uid_t cuid;
|
||||
compat_gid_t cgid;
|
||||
compat_mode_t mode;
|
||||
compat_mode_t mode;
|
||||
unsigned short seq;
|
||||
unsigned short __pad1;
|
||||
unsigned int __unused1;
|
||||
@@ -1334,17 +1334,17 @@ asmlinkage int sys32_sendfile(int out_fd, int in_fd, compat_off_t *offset,
|
||||
mm_segment_t old_fs = get_fs();
|
||||
int ret;
|
||||
off_t of;
|
||||
|
||||
|
||||
if (offset && get_user(of, offset))
|
||||
return -EFAULT;
|
||||
|
||||
|
||||
set_fs(KERNEL_DS);
|
||||
ret = sys_sendfile(out_fd, in_fd, offset ? &of : NULL, count);
|
||||
set_fs(old_fs);
|
||||
|
||||
|
||||
if (offset && put_user(of, offset))
|
||||
return -EFAULT;
|
||||
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
@@ -1362,11 +1362,11 @@ static unsigned char socketcall_nargs[18]={AL(0),AL(3),AL(3),AL(3),AL(2),AL(3),
|
||||
#undef AL
|
||||
|
||||
/*
|
||||
* System call vectors.
|
||||
* System call vectors.
|
||||
*
|
||||
* Argument checking cleaned up. Saved 20% in size.
|
||||
* This function doesn't need to set the kernel lock because
|
||||
* it is set by the callees.
|
||||
* it is set by the callees.
|
||||
*/
|
||||
|
||||
asmlinkage long sys32_socketcall(int call, unsigned int *args32)
|
||||
@@ -1402,11 +1402,11 @@ asmlinkage long sys32_socketcall(int call, unsigned int *args32)
|
||||
/* copy_from_user should be SMP safe. */
|
||||
if (copy_from_user(a, args32, socketcall_nargs[call]))
|
||||
return -EFAULT;
|
||||
|
||||
|
||||
a0=a[0];
|
||||
a1=a[1];
|
||||
|
||||
switch(call)
|
||||
|
||||
switch(call)
|
||||
{
|
||||
case SYS_SOCKET:
|
||||
err = sys_socket(a0,a1,a[2]);
|
||||
|
@@ -35,7 +35,7 @@
|
||||
/*
|
||||
* FPU context is saved iff the process has used it's FPU in the current
|
||||
* time slice as indicated by TIF_USEDFPU. In any case, the CU1 bit for user
|
||||
* space STATUS register should be 0, so that a process *always* starts its
|
||||
* space STATUS register should be 0, so that a process *always* starts its
|
||||
* userland with FPU disabled after each context switch.
|
||||
*
|
||||
* FPU will be enabled as soon as the process accesses FPU again, through
|
||||
@@ -55,7 +55,7 @@ LEAF(resume)
|
||||
cpu_save_nonscratch a0
|
||||
sw ra, THREAD_REG31(a0)
|
||||
|
||||
/*
|
||||
/*
|
||||
* check if we need to save FPU registers
|
||||
*/
|
||||
lw t3, TASK_THREAD_INFO(a0)
|
||||
|
@@ -33,7 +33,7 @@
|
||||
/*
|
||||
* FPU context is saved iff the process has used it's FPU in the current
|
||||
* time slice as indicated by _TIF_USEDFPU. In any case, the CU1 bit for user
|
||||
* space STATUS register should be 0, so that a process *always* starts its
|
||||
* space STATUS register should be 0, so that a process *always* starts its
|
||||
* userland with FPU disabled after each context switch.
|
||||
*
|
||||
* FPU will be enabled as soon as the process accesses FPU again, through
|
||||
@@ -164,7 +164,7 @@ LEAF(_init_fpu)
|
||||
dmtc1 t1, $f31
|
||||
1:
|
||||
#endif
|
||||
|
||||
|
||||
#ifdef CONFIG_CPU_MIPS32
|
||||
mtc1 t1, $f0
|
||||
mtc1 t1, $f1
|
||||
|
@@ -558,7 +558,7 @@ static inline int setup_sigcontext32(struct pt_regs *regs,
|
||||
if (!used_math())
|
||||
goto out;
|
||||
|
||||
/*
|
||||
/*
|
||||
* Save FPU state to signal context. Signal handler will "inherit"
|
||||
* current FPU state.
|
||||
*/
|
||||
|
@@ -15,7 +15,7 @@ SECTIONS
|
||||
/* This is the value for an Origin kernel, taken from an IRIX kernel. */
|
||||
/* . = 0xc00000000001c000; */
|
||||
|
||||
/* Set the vaddr for the text segment to a value
|
||||
/* Set the vaddr for the text segment to a value
|
||||
>= 0xa800 0000 0001 9000 if no symmon is going to configured
|
||||
>= 0xa800 0000 0030 0000 otherwise */
|
||||
|
||||
|
Reference in New Issue
Block a user