????JFIF??x?x????'
Server IP : 79.136.114.73 / Your IP : 18.117.121.244 Web Server : Apache/2.4.7 (Ubuntu) PHP/5.5.9-1ubuntu4.29 OpenSSL/1.0.1f System : Linux b8009 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 User : www-data ( 33) PHP Version : 5.5.9-1ubuntu4.29 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/src/linux-headers-3.13.0-49/arch/tile/include/asm/ |
Upload File : |
/* * Copyright 2010 Tilera Corporation. All Rights Reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation, version 2. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE, GOOD TITLE or * NON INFRINGEMENT. See the GNU General Public License for * more details. */ #ifndef _ASM_TILE_PERCPU_H #define _ASM_TILE_PERCPU_H register unsigned long my_cpu_offset_reg asm("tp"); #ifdef CONFIG_PREEMPT /* * For full preemption, we can't just use the register variable * directly, since we need barrier() to hazard against it, causing the * compiler to reload anything computed from a previous "tp" value. * But we also don't want to use volatile asm, since we'd like the * compiler to be able to cache the value across multiple percpu reads. * So we use a fake stack read as a hazard against barrier(). * The 'U' constraint is like 'm' but disallows postincrement. */ static inline unsigned long __my_cpu_offset(void) { unsigned long tp; register unsigned long *sp asm("sp"); asm("move %0, tp" : "=r" (tp) : "U" (*sp)); return tp; } #define __my_cpu_offset __my_cpu_offset() #else /* * We don't need to hazard against barrier() since "tp" doesn't ever * change with PREEMPT_NONE, and with PREEMPT_VOLUNTARY it only * changes at function call points, at which we are already re-reading * the value of "tp" due to "my_cpu_offset_reg" being a global variable. */ #define __my_cpu_offset my_cpu_offset_reg #endif #define set_my_cpu_offset(tp) (my_cpu_offset_reg = (tp)) #include <asm-generic/percpu.h> #endif /* _ASM_TILE_PERCPU_H */