~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/arch/tile/include/asm/setup.h

Version: ~ [ linux-5.10-rc1 ] ~ [ linux-5.9.1 ] ~ [ linux-5.8.16 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.72 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.152 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.202 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.240 ] ~ [ linux-4.8.17 ] ~ [ linux-4.7.10 ] ~ [ linux-4.6.7 ] ~ [ linux-4.5.7 ] ~ [ linux-4.4.240 ] ~ [ linux-4.3.6 ] ~ [ linux-4.2.8 ] ~ [ linux-4.1.52 ] ~ [ linux-4.0.9 ] ~ [ linux-3.19.8 ] ~ [ linux-3.18.140 ] ~ [ linux-3.17.8 ] ~ [ linux-3.16.85 ] ~ [ linux-3.15.10 ] ~ [ linux-3.14.79 ] ~ [ linux-3.13.11 ] ~ [ linux-3.12.74 ] ~ [ linux-3.11.10 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.5 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 /*
  2  * Copyright 2010 Tilera Corporation. All Rights Reserved.
  3  *
  4  *   This program is free software; you can redistribute it and/or
  5  *   modify it under the terms of the GNU General Public License
  6  *   as published by the Free Software Foundation, version 2.
  7  *
  8  *   This program is distributed in the hope that it will be useful, but
  9  *   WITHOUT ANY WARRANTY; without even the implied warranty of
 10  *   MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or
 11  *   NON INFRINGEMENT.  See the GNU General Public License for
 12  *   more details.
 13  */
 14 #ifndef _ASM_TILE_SETUP_H
 15 #define _ASM_TILE_SETUP_H
 16 
 17 
 18 #include <linux/pfn.h>
 19 #include <linux/init.h>
 20 #include <uapi/asm/setup.h>
 21 
 22 /*
 23  * Reserved space for vmalloc and iomap - defined in asm/page.h
 24  */
 25 #define MAXMEM_PFN      PFN_DOWN(MAXMEM)
 26 
 27 int tile_console_write(const char *buf, int count);
 28 void early_panic(const char *fmt, ...);
 29 
 30 /* Init-time routine to do tile-specific per-cpu setup. */
 31 void setup_cpu(int boot);
 32 
 33 /* User-level DMA management functions */
 34 void grant_dma_mpls(void);
 35 void restrict_dma_mpls(void);
 36 
 37 #ifdef CONFIG_HARDWALL
 38 /* User-level network management functions */
 39 void reset_network_state(void);
 40 struct task_struct;
 41 void hardwall_switch_tasks(struct task_struct *prev, struct task_struct *next);
 42 void hardwall_deactivate_all(struct task_struct *task);
 43 int hardwall_ipi_valid(int cpu);
 44 
 45 /* Hook hardwall code into changes in affinity. */
 46 #define arch_set_cpus_allowed(p, new_mask) do { \
 47         if (!cpumask_equal(&p->cpus_allowed, new_mask)) \
 48                 hardwall_deactivate_all(p); \
 49 } while (0)
 50 #endif
 51 
 52 #endif /* _ASM_TILE_SETUP_H */
 53 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | Wiki (Japanese) | Wiki (English) | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

osdn.jp