Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 30891
Collapse All | Expand All

(-)linux-2.4.20-xfs-r3/arch/arm/mach-integrator/pci_v3.c (-2 / +1 lines)
Lines 629-635 Link Here
629
#if 0
629
#if 0
630
	ret = request_irq(IRQ_LBUSTIMEOUT, lb_timeout, 0, "bus timeout", NULL);
630
	ret = request_irq(IRQ_LBUSTIMEOUT, lb_timeout, 0, "bus timeout", NULL);
631
	if (ret)
631
	if (ret)
632
		printk(KERN_ERR "PCI: unable to grab local bus timeout ".
632
		printk(KERN_ERR "PCI: unable to grab local bus timeout interrupt: %d\n", ret);
633
		       "interrupt: %d\n", ret);
634
#endif
633
#endif
635
}
634
}
(-)linux-2.4.20-xfs-r3/arch/i386/math-emu/poly.h (-17 / +17 lines)
Lines 75-85 Link Here
75
/* Add the 12 byte Xsig x2 to Xsig dest, with no checks for overflow. */
75
/* Add the 12 byte Xsig x2 to Xsig dest, with no checks for overflow. */
76
static inline void add_Xsig_Xsig(Xsig *dest, const Xsig *x2)
76
static inline void add_Xsig_Xsig(Xsig *dest, const Xsig *x2)
77
{
77
{
78
  asm volatile ("movl %1,%%edi; movl %2,%%esi;
78
  asm volatile ("movl %1,%%edi; movl %2,%%esi; " \
79
                 movl (%%esi),%%eax; addl %%eax,(%%edi);
79
                "movl (%%esi),%%eax; addl %%eax,(%%edi); " \
80
                 movl 4(%%esi),%%eax; adcl %%eax,4(%%edi);
80
                "movl 4(%%esi),%%eax; adcl %%eax,4(%%edi); " \
81
                 movl 8(%%esi),%%eax; adcl %%eax,8(%%edi);"
81
                "movl 8(%%esi),%%eax; adcl %%eax,8(%%edi); " \
82
                 :"=g" (*dest):"g" (dest), "g" (x2)
82
                 :"=g" (*dest):"g" (dest), "g" (x2) \
83
                 :"ax","si","di");
83
                 :"ax","si","di");
84
}
84
}
85
85
Lines 90-107 Link Here
90
   problem, but keep fingers crossed! */
90
   problem, but keep fingers crossed! */
91
static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp)
91
static inline void add_two_Xsig(Xsig *dest, const Xsig *x2, long int *exp)
92
{
92
{
93
  asm volatile ("movl %2,%%ecx; movl %3,%%esi;
93
  asm volatile ("movl %2,%%ecx; movl %3,%%esi; " \
94
                 movl (%%esi),%%eax; addl %%eax,(%%ecx);
94
                "movl (%%esi),%%eax; addl %%eax,(%%ecx); " \
95
                 movl 4(%%esi),%%eax; adcl %%eax,4(%%ecx);
95
                "movl 4(%%esi),%%eax; adcl %%eax,4(%%ecx); " \
96
                 movl 8(%%esi),%%eax; adcl %%eax,8(%%ecx);
96
                "movl 8(%%esi),%%eax; adcl %%eax,8(%%ecx); " \
97
                 jnc 0f;
97
                "jnc 0f; " \
98
		 rcrl 8(%%ecx); rcrl 4(%%ecx); rcrl (%%ecx)
98
		"rcrl 8(%%ecx); rcrl 4(%%ecx); rcrl (%%ecx); " \
99
                 movl %4,%%ecx; incl (%%ecx)
99
                "movl %4,%%ecx; incl (%%ecx); " \
100
                 movl $1,%%eax; jmp 1f;
100
                "movl $1,%%eax; jmp 1f; " \
101
                 0: xorl %%eax,%%eax;
101
                "0: xorl %%eax,%%eax; " \
102
                 1:"
102
                "1: " \
103
		:"=g" (*exp), "=g" (*dest)
103
		:"=g" (*exp), "=g" (*dest) \
104
		:"g" (dest), "g" (x2), "g" (exp)
104
		:"g" (dest), "g" (x2), "g" (exp) \
105
		:"cx","si","ax");
105
		:"cx","si","ax");
106
}
106
}
107
107
(-)linux-2.4.20-xfs-r3/arch/mips64/mm/r4xx0.c (-3 / +2 lines)
Lines 1941-1949 Link Here
1941
#ifdef DEBUG_TLB
1941
#ifdef DEBUG_TLB
1942
	if((pid != (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff)) ||
1942
	if((pid != (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff)) ||
1943
	   (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) == 0)) {
1943
	   (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) == 0)) {
1944
		printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d
1944
		printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d tlbpid=%d\n", 
1945
			tlbpid=%d\n", (int) (CPU_CONTEXT(smp_processor_id(),
1945
			(int) (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff), pid);
1946
			vma->vm_mm) & 0xff), pid);
1947
	}
1946
	}
1948
#endif
1947
#endif
1949
1948
(-)linux-2.4.20-xfs-r3/arch/mips64/mm/tlb-r4k.c (-3 / +2 lines)
Lines 200-208 Link Here
200
#ifdef DEBUG_TLB
200
#ifdef DEBUG_TLB
201
	if((pid != (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff)) ||
201
	if((pid != (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff)) ||
202
	   (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) == 0)) {
202
	   (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) == 0)) {
203
		printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d
203
		printk("update_mmu_cache: Wheee, bogus tlbpid mmpid=%d tlbpid=%d\n", 
204
			tlbpid=%d\n", (int) (CPU_CONTEXT(smp_processor_id(),
204
			(int) (CPU_CONTEXT(smp_processor_id(), vma->vm_mm) & 0xff), pid);
205
			vma->vm_mm) & 0xff), pid);
206
	}
205
	}
207
#endif
206
#endif
208
207
(-)linux-2.4.20-xfs-r3/drivers/atm/zatm.c (-2 / +1 lines)
Lines 1430-1437 Link Here
1430
	zout(uPD98401_GMR_ONE | uPD98401_BURST8 | uPD98401_BURST4 |
1430
	zout(uPD98401_GMR_ONE | uPD98401_BURST8 | uPD98401_BURST4 |
1431
	    uPD98401_BURST2 | uPD98401_GMR_PM | uPD98401_GMR_DR,GMR);
1431
	    uPD98401_BURST2 | uPD98401_GMR_PM | uPD98401_GMR_DR,GMR);
1432
	/* TODO: should shrink allocation now */
1432
	/* TODO: should shrink allocation now */
1433
	printk("mem=%dkB,%s (",zatm_dev->mem >> 10,zatm_dev->copper ? "UTP" :
1433
	printk("mem=%dkB,%s (",zatm_dev->mem >> 10,zatm_dev->copper ? "UTP" : "MMF");
1434
	    "MMF");
1435
	for (i = 0; i < ESI_LEN; i++)
1434
	for (i = 0; i < ESI_LEN; i++)
1436
		printk("%02X%s",dev->esi[i],i == ESI_LEN-1 ? ")\n" : "-");
1435
		printk("%02X%s",dev->esi[i],i == ESI_LEN-1 ? ")\n" : "-");
1437
	do {
1436
	do {
(-)linux-2.4.20-xfs-r3/drivers/char/h8.c (-2 / +1 lines)
Lines 574-581 Link Here
574
        }
574
        }
575
575
576
        if (intrbuf.word & H8_POWER_BUTTON) {
576
        if (intrbuf.word & H8_POWER_BUTTON) {
577
                printk(KERN_CRIT "Power switch pressed - please wait - preparing to power 
577
                printk(KERN_CRIT "Power switch pressed - please wait - preparing to power off\n");
578
off\n");
579
                h8_set_event_mask(H8_POWER_BUTTON);
578
                h8_set_event_mask(H8_POWER_BUTTON);
580
                wake_up(&h8_monitor_wait);
579
                wake_up(&h8_monitor_wait);
581
        }
580
        }
(-)linux-2.4.20-xfs-r3/drivers/ide/ide-cd.h (-1 / +1 lines)
Lines 438-444 Link Here
438
438
439
	byte     curlba[3];
439
	byte     curlba[3];
440
	byte     nslots;
440
	byte     nslots;
441
	__u8 short slot_tablelen;
441
	__u16 slot_tablelen;
442
};
442
};
443
443
444
444
(-)linux-2.4.20-xfs-r3/drivers/net/bcm4400/b44.h (-2 / +2 lines)
Lines 1079-1088 Link Here
1079
/******************************************************************************/
1079
/******************************************************************************/
1080
1080
1081
#define REG_RD(pDevice, OffsetName)                                         \
1081
#define REG_RD(pDevice, OffsetName)                                         \
1082
        __raw_readl(&((pDevice)->pMemView->##OffsetName))
1082
        __raw_readl(&((pDevice)->pMemView->OffsetName))
1083
1083
1084
#define REG_WR(pDevice, OffsetName, Value32)                                \
1084
#define REG_WR(pDevice, OffsetName, Value32)                                \
1085
        (void) __raw_writel(Value32, &((pDevice)->pMemView->##OffsetName))
1085
        (void) __raw_writel(Value32, &((pDevice)->pMemView->OffsetName))
1086
1086
1087
#define REG_RD_OFFSET(pDevice, Offset)                                      \
1087
#define REG_RD_OFFSET(pDevice, Offset)                                      \
1088
    __raw_readl(((LM_UINT8 *) (pDevice)->pMemView + Offset))
1088
    __raw_readl(((LM_UINT8 *) (pDevice)->pMemView + Offset))
(-)linux-2.4.20-xfs-r3/drivers/net/fealnx.c (-2 / +1 lines)
Lines 937-943 Link Here
937
// 89/9/1 modify,
937
// 89/9/1 modify,
938
//   np->bcrvalue=0x38;
938
//   np->bcrvalue=0x38;
939
	np->bcrvalue = 0x10;
939
	np->bcrvalue = 0x10;
940
	np->cralue = 0xe00;	/* rx 128 burst length */
940
	np->crvalue = 0xe00;	/* rx 128 burst length */
941
#warning Processor architecture undefined!
941
#warning Processor architecture undefined!
942
#endif
942
#endif
943
// 89/12/29 add,
943
// 89/12/29 add,
Lines 1198-1204 Link Here
1198
		printk("\n");
1198
		printk("\n");
1199
	}
1199
	}
1200
1200
1201
	   + dev->if_port = np->default_port;
1202
	/* Reinit. Gross */
1201
	/* Reinit. Gross */
1203
1202
1204
	/* Reset the chip's Tx and Rx processes. */
1203
	/* Reset the chip's Tx and Rx processes. */
(-)linux-2.4.20-xfs-r3/drivers/net/irda/ma600.c (-1 / +1 lines)
Lines 53-59 Link Here
53
	if(!(expr)) { \
53
	if(!(expr)) { \
54
	        printk( "Assertion failed! %s,%s,%s,line=%d\n",\
54
	        printk( "Assertion failed! %s,%s,%s,line=%d\n",\
55
        	#expr,__FILE__,__FUNCTION__,__LINE__); \
55
        	#expr,__FILE__,__FUNCTION__,__LINE__); \
56
	        ##func}
56
	        func}
57
#endif
57
#endif
58
58
59
/* convert hex value to ascii hex */
59
/* convert hex value to ascii hex */
(-)linux-2.4.20-xfs-r3/drivers/net/tokenring/olympic.c (-2 / +2 lines)
Lines 655-662 Link Here
655
	printk(" stat_ring[7]: %p\n", &(olympic_priv->olympic_rx_status_ring[7])  );
655
	printk(" stat_ring[7]: %p\n", &(olympic_priv->olympic_rx_status_ring[7])  );
656
656
657
	printk("RXCDA: %x, rx_ring[0]: %p\n",readl(olympic_mmio+RXCDA),&olympic_priv->olympic_rx_ring[0]);
657
	printk("RXCDA: %x, rx_ring[0]: %p\n",readl(olympic_mmio+RXCDA),&olympic_priv->olympic_rx_ring[0]);
658
	printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr =
658
	printk("Rx_ring_dma_addr = %08x, rx_status_dma_addr = %08x\n",
659
%08x\n",olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ; 
659
		olympic_priv->rx_ring_dma_addr,olympic_priv->rx_status_ring_dma_addr) ; 
660
#endif
660
#endif
661
661
662
	writew((((readw(olympic_mmio+RXENQ)) & 0x8000) ^ 0x8000) | i,olympic_mmio+RXENQ);
662
	writew((((readw(olympic_mmio+RXENQ)) & 0x8000) ^ 0x8000) | i,olympic_mmio+RXENQ);
(-)linux-2.4.20-xfs-r3/drivers/scsi/sun3_NCR5380.c (-2 / +1 lines)
Lines 1226-1233 Link Here
1226
					    BASR_ACK)) ==
1226
					    BASR_ACK)) ==
1227
       (BASR_PHASE_MATCH | BASR_ACK)) {
1227
       (BASR_PHASE_MATCH | BASR_ACK)) {
1228
	    printk("scsi%d: BASR %02x\n", HOSTNO, NCR5380_read(BUS_AND_STATUS_REG));
1228
	    printk("scsi%d: BASR %02x\n", HOSTNO, NCR5380_read(BUS_AND_STATUS_REG));
1229
	    printk("scsi%d: bus stuck in data phase -- probably a
1229
	    printk("scsi%d: bus stuck in data phase -- probably a single byte overrun!\n", HOSTNO); 
1230
 single byte overrun!\n", HOSTNO); 
1231
	    printk("not prepared for this error!\n");
1230
	    printk("not prepared for this error!\n");
1232
	    printk("please e-mail sammy@sammy.net with a description of how this\n");
1231
	    printk("please e-mail sammy@sammy.net with a description of how this\n");
1233
	    printk("error was produced.\n");
1232
	    printk("error was produced.\n");
(-)linux-2.4.20-xfs-r3/fs/reiserfs/super.c (-2 / +2 lines)
Lines 941-948 Link Here
941
    ll_rw_block(READ, 1, &(SB_AP_BITMAP(s)[i].bh)) ;
941
    ll_rw_block(READ, 1, &(SB_AP_BITMAP(s)[i].bh)) ;
942
    wait_on_buffer(SB_AP_BITMAP(s)[i].bh) ;
942
    wait_on_buffer(SB_AP_BITMAP(s)[i].bh) ;
943
    if (!buffer_uptodate(SB_AP_BITMAP(s)[i].bh)) {
943
    if (!buffer_uptodate(SB_AP_BITMAP(s)[i].bh)) {
944
      printk("reread_meta_blocks, error reading bitmap block number %d at
944
      printk("reread_meta_blocks, error reading bitmap block number %d at %ld\n", 
945
      %ld\n", i, SB_AP_BITMAP(s)[i].bh->b_blocknr) ;
945
             i, SB_AP_BITMAP(s)[i].bh->b_blocknr) ;
946
      return 1 ;
946
      return 1 ;
947
    }
947
    }
948
  }
948
  }
(-)linux-2.4.20-xfs-r3/net/core/rtnetlink.c (-1 / +1 lines)
Lines 394-400 Link Here
394
 * Malformed skbs with wrong lengths of messages are discarded silently.
394
 * Malformed skbs with wrong lengths of messages are discarded silently.
395
 */
395
 */
396
396
397
extern __inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
397
__inline__ int rtnetlink_rcv_skb(struct sk_buff *skb)
398
{
398
{
399
	int err;
399
	int err;
400
	struct nlmsghdr * nlh;
400
	struct nlmsghdr * nlh;
(-)linux-2.4.20-xfs-r3/net/decnet/dn_table.c (-2 / +1 lines)
Lines 836-843 Link Here
836
                return NULL;
836
                return NULL;
837
837
838
        if (in_interrupt() && net_ratelimit()) {
838
        if (in_interrupt() && net_ratelimit()) {
839
                printk(KERN_DEBUG "DECnet: BUG! Attempt to create routing table 
839
                printk(KERN_DEBUG "DECnet: BUG! Attempt to create routing table from interrupt\n"); 
840
from interrupt\n"); 
841
                return NULL;
840
                return NULL;
842
        }
841
        }
843
        if ((t = kmalloc(sizeof(struct dn_fib_table), GFP_KERNEL)) == NULL)
842
        if ((t = kmalloc(sizeof(struct dn_fib_table), GFP_KERNEL)) == NULL)

Return to bug 30891