The latest update in tlbex-r4k.S (tag 2_4) produces
following compiler errors on my machine:
mipsel-linux-gcc -D__ASSEMBLY__ -D__KERNEL__ -I/build/linux-2.4.22-rthal5g-s
trom
boli/include -I /build/linux-2.4.22-rthal5g-stromboli/include/asm/gcc -G
0 -mno-
abicalls -fno-pic -pipe -mcpu=r4600 -mips2 -Wa,--trap -c -o tlbex-r4k.o
tlbe
x-r4k.S
tlbex-r4k.S: Assembler messages:
tlbex-r4k.S:179: Error: missing ')'
tlbex-r4k.S:179: Error: missing ')'
tlbex-r4k.S:179: Error: missing ')'
tlbex-r4k.S:179: Error: illegal operands `and'
tlbex-r4k.S:207: Error: missing ')'
tlbex-r4k.S:207: Error: missing ')'
tlbex-r4k.S:207: Error: missing ')'
tlbex-r4k.S:207: Error: illegal operands `and'
tlbex-r4k.S:243: Error: missing ')'
tlbex-r4k.S:243: Error: missing ')'
tlbex-r4k.S:243: Error: missing ')'
...
If I change the line 43 from:
#define PTE_PAGE_SIZE (1L << PTE_PAGE_SHIFT)
to
#define PTE_PAGE_SIZE (1 << PTE_PAGE_SHIFT)
the compiling is o.k.
Is that a compiler problem or an programming error ?
Ralf
Ralf Roesch.vcf
Description: Vcard
|