[parisc-linux] fdisk problems 2.4 <-> 2.6

John David Anglin dave@hiauly1.hia.nrc.ca
Mon, 10 Nov 2003 00:01:51 -0500 (EST)


> Why replace the static inline with a macro?
> static inline provides type checking and
> type "coercion" when it's not exactly right.
> 
> > +       __asm__ __volatile__ (                              \
> > +               "\n1:\tstw\t%2,0(%1)\n"                     \
> > +               "2:\tstw\t%R2,4(%1)\n"                      \
> 
> What is "%R2" intended to be?

"%R2" should cause the second register name of a register pair to
be printed.  It's used for long long support on 32-bit ports.  See
case 'R' in the function print_operand in pa.c.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)