linux-mips
[Top] [All Lists]

Macro error in 2.4.0-test9 (unaligned.h)

To: linux-mips@oss.sgi.com
Subject: Macro error in 2.4.0-test9 (unaligned.h)
From: Jeff Harrell <jharrell@ti.com>
Date: Wed, 11 Oct 2000 10:41:08 -0600
Sender: owner-linux-mips@oss.sgi.com
This caused a problem when loading the ppp module...
 

~~~~~~~~~~~~8< snippet from  /include/asm-mips/unaligned.h --------

#define put_unaligned(x,ptr)      \                   <<== shouldn't  x actually be val here?
    do {         \
         switch (sizeof(*(ptr))) {     \
             case 1:        \
              *(unsigned char *)ptr = (val);    \
               break;       \
             case 2:        \

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Jeff Harrell                    Work:  (801) 619-6104 
Broadband Access group/TI       
jharrell@ti.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
 

Attachment: jharrell.vcf
Description: Card for Jeff Harrell

<Prev in Thread] Current Thread [Next in Thread>