RE: [PATCH 07/56] microblaze_v2: Signal support

John Williams
2008-05-05T23:34:52Z

On Mon, 2008-05-05 at 14:32 -0700, Stephen Neuendorffer wrote:
> (multiple places) can this code (and flush_cache_sigtramp()) go away?
>
> +#if 0
> + flush_cache_sigtramp((unsigned long)frame->tramp);
> +#endif

You have to icache_invalidate the sigtramp because you are writing into
memory that will shortly be executed.

I'm not sure why this is #if'd away in the first place?

John