Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 27136
b: refs/heads/master
c: ecf52d3
h: refs/heads/master
v: v3
  • Loading branch information
Atsushi Nemoto authored and Ralf Baechle committed Jun 5, 2006
1 parent 6a70082 commit 5ad8e66
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 12 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: 460c0422c3861ab63a14c2be600a96a9e68b89f2
refs/heads/master: ecf52d3c895c8bc069b9ae07c18acf39d846c2ef
13 changes: 8 additions & 5 deletions trunk/arch/mips/kernel/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -419,17 +419,20 @@ static inline void bootmem_init(void)
#ifdef CONFIG_BLK_DEV_INITRD
initrd_below_start_ok = 1;
if (initrd_start) {
unsigned long initrd_size = ((unsigned char *)initrd_end) - ((unsigned char *)initrd_start);
unsigned long initrd_size = ((unsigned char *)initrd_end) -
((unsigned char *)initrd_start);
const int width = sizeof(long) * 2;

printk("Initial ramdisk at: 0x%p (%lu bytes)\n",
(void *)initrd_start, initrd_size);

if (CPHYSADDR(initrd_end) > PFN_PHYS(max_low_pfn)) {
printk("initrd extends beyond end of memory "
"(0x%0*Lx > 0x%0*Lx)\ndisabling initrd\n",
sizeof(long) * 2,
(unsigned long long)CPHYSADDR(initrd_end),
sizeof(long) * 2,
(unsigned long long)PFN_PHYS(max_low_pfn));
width,
(unsigned long long) CPHYSADDR(initrd_end),
width,
(unsigned long long) PFN_PHYS(max_low_pfn));
initrd_start = initrd_end = 0;
initrd_reserve_bootmem = 0;
}
Expand Down
3 changes: 1 addition & 2 deletions trunk/arch/mips/kernel/syscall.c
Original file line number Diff line number Diff line change
Expand Up @@ -276,8 +276,7 @@ void sys_set_thread_area(unsigned long addr)

asmlinkage int _sys_sysmips(int cmd, long arg1, int arg2, int arg3)
{
int tmp, len;
char __user *name;
int tmp;

switch(cmd) {
case MIPS_ATOMIC_SET:
Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/mips/math-emu/dp_fint.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@

ieee754dp ieee754dp_fint(int x)
{
COMPXDP;
u64 xm;
int xe;
int xs;

CLEARCX;

Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/mips/math-emu/dp_flong.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@

ieee754dp ieee754dp_flong(s64 x)
{
COMPXDP;
u64 xm;
int xe;
int xs;

CLEARCX;

Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/mips/math-emu/sp_fint.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@

ieee754sp ieee754sp_fint(int x)
{
COMPXSP;
unsigned xm;
int xe;
int xs;

CLEARCX;

Expand Down
4 changes: 3 additions & 1 deletion trunk/arch/mips/math-emu/sp_flong.c
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@

ieee754sp ieee754sp_flong(s64 x)
{
COMPXDP; /* <--- need 64-bit mantissa temp */
u64 xm; /* <--- need 64-bit mantissa temp */
int xe;
int xs;

CLEARCX;

Expand Down

0 comments on commit 5ad8e66

Please sign in to comment.