[PATCH v3 3/3] [POWERPC] 40x/Book-E: Save/restore volatile exception registers
Stephen Rothwell
sfr at canb.auug.org.au
Sat May 17 12:55:17 EST 2008
Hi Kumar,
On Fri, 16 May 2008 14:08:00 -0500 (CDT) Kumar Gala <galak at kernel.crashing.org> wrote:
>
> +++ b/arch/powerpc/kernel/asm-offsets.c
> @@ -52,6 +52,15 @@
> #include <asm/iseries/alpaca.h>
> #endif
>
> +#if defined(CONFIG_BOOKE) || defined(CONFIG_40x)
> +#include "head_booke.h"
> +#endif
> +
> +#define DEFINE(sym, val) \
> + asm volatile("\n->" #sym " %0 " #val : : "i" (val))
> +
> +#define BLANK() asm volatile("\n->" : : )
> +
Why are these defines here? We already pick them up from kbuild.h ...
--
Cheers,
Stephen Rothwell sfr at canb.auug.org.au
http://www.canb.auug.org.au/~sfr/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.ozlabs.org/pipermail/linuxppc-dev/attachments/20080517/925bc20f/attachment.pgp>
More information about the Linuxppc-dev
mailing list