# Re: \[PATCH 26/29\] Disintegrate asm/system.h for Tile

- From: Chris Metcalf \<hidden\>
- Date: 2012-03-09 21:14:41 
- List: linux-arch
- Page: https://ratatoskr.run/linux-arch/2012/03/3833469
- Thread: https://ratatoskr.run/linux-arch/2012/03/3832070/t.md

```text
On 3/7/2012 2:56 PM, David Howells wrote:
> Disintegrate asm/system.h for Tile.  Not compiled.
> 
> Signed-off-by: David Howells <dhowells@redhat.com>
> ---
> 
>  arch/tile/include/asm/barrier.h    |  140 +++++++++++++++++++
>  arch/tile/include/asm/cacheflush.h |   10 +
>  arch/tile/include/asm/exec.h       |   20 +++
>  arch/tile/include/asm/setup.h      |   21 +++
>  arch/tile/include/asm/switch_to.h  |   72 ++++++++++
>  arch/tile/include/asm/system.h     |  261 ------------------------------------
>  arch/tile/include/asm/timex.h      |    2 
>  arch/tile/include/asm/unaligned.h  |   15 ++

This looks approximately correct.  I suspect there may be a few functions
that need to be moved around, or #includes added: for example some of the
<asm/setup.h> functions are invoked from the scheduler, like
arch_set_cpus_allowed() and hardwall_deactivate().

If you have a tree I can pull I'm happy to test it out.

Please cc me on any other tile-specific changes to make sure I see them.
Thanks!
-- 
Chris Metcalf, Tilera Corp.
http://www.tilera.com
```
