Displaying 20 results from an estimated 126 matches for "thread_info".
2006 May 15
3
Eicon Diva - problems building new v3 melware driver
...n declaration isn't a prototype
include/linux/kernel.h:86: error: syntax error before "size_t"
include/linux/kernel.h:86: warning: function declaration isn't a prototype
include/linux/kernel.h:190:2: #error "Please fix asm/byteorder.h"
In file included from include/linux/thread_info.h:20,
from include/linux/spinlock.h:12,
from
/root/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/kcapi.h:14,
from
/root/asterisk/divas4linux-melware-3.0.e-106.622-1/kernel26/kernelcapi/kcapi.c:15:
include/linux/bitops.h:3:23...
2007 Apr 18
3
[PATCH] no paravirt for X86_VOYAGER or X86_VISWS
...ouldn't be offered for them.
In file included from arch/i386/kernel/setup.c:63:
include/asm-i386/mach-visws/setup_arch.h:8:1: warning: "ARCH_SETUP" redefined
In file included from include/asm/msr.h:5,
from include/asm/processor.h:17,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:45,
from include/linux/sched.h:46,
from arch/i386/kernel...
2007 Apr 18
3
[PATCH] no paravirt for X86_VOYAGER or X86_VISWS
...ouldn't be offered for them.
In file included from arch/i386/kernel/setup.c:63:
include/asm-i386/mach-visws/setup_arch.h:8:1: warning: "ARCH_SETUP" redefined
In file included from include/asm/msr.h:5,
from include/asm/processor.h:17,
from include/asm/thread_info.h:16,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:49,
from include/linux/capability.h:45,
from include/linux/sched.h:46,
from arch/i386/kernel...
2012 Nov 06
0
[ablock84-btrfs:btrfs-far 19/20] fs/far/far-path.c:42:2: error: implicit declaration of function 'IS_ERR'
...s/le.h:5,
from arch/s390/include/asm/bitops.h:829,
from include/linux/bitops.h:22,
from include/linux/kernel.h:10,
from arch/s390/include/asm/bug.h:4,
from include/linux/bug.h:4,
from include/linux/thread_info.h:11,
from include/linux/preempt.h:9,
from include/linux/spinlock.h:50,
from include/linux/vmalloc.h:4,
from fs/far/far-mem.h:23,
from fs/far/far-attr.c:21:
include/uapi/linux/byteorder/big_endian.h:14:0: warning:...
2006 Feb 26
0
Unable to build linux-2.6-xen.hg
...x-2.6-xen.hg# make
CHK include/linux/version.h
SPLIT include/linux/autoconf.h -> include/config/*
CC arch/x86_64/kernel/asm-offsets.s
In file included from include/xen/features.h:12,
from include/asm/mach-xen/asm/page.h:10,
from include/asm/thread_info.h:12,
from include/linux/thread_info.h:21,
from include/linux/preempt.h:10,
from include/linux/spinlock.h:50,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/x86_6...
2018 Jan 25
0
[PATCH net-next 10/12] tools/virtio: more stubs to fix tools build
Signed-off-by: Michael S. Tsirkin <mst at redhat.com>
---
tools/virtio/linux/kernel.h | 2 +-
tools/virtio/linux/thread_info.h | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
create mode 100644 tools/virtio/linux/thread_info.h
diff --git a/tools/virtio/linux/kernel.h b/tools/virtio/linux/kernel.h
index 395521a..fca8381 100644
--- a/tools/virtio/linux/kernel.h
+++ b/tools/virtio/linux/kernel.h
@@ -118,7 +118,7 @@...
2018 Jan 27
0
Thread-local-storage memory layout
...segment information:
TLS 0x00000000001a5dd0 0x00000000002a90d0 0x00000000002a90d0
0x0000000000000004 0x0000000000009ca4 R 0x10
So I load this segment into memory using file offset, filesize, memorysize.
My understanding that for x86_64 there is a "struct thread_info" that
is located right after TLS loaded segment. And the first element of
this structure is a pointer (i.e. sizeof(uintptr_t)).
Now I need to setup %fs and thread_info structure and it is where I
have a few questions:
* what is the alignment requirement for struct thread_info?. Is it
sizeof(...
2006 Mar 06
2
Problem compiling a custom kernel for xen-3.0
.../install
14. export ARCH INSTALL_PATH INSTALL_MOD_PATH
15. make oldconfig
16. make menuconfig
17. make modules
But I get an error:
CHK include/linux/version.h
CC arch/i386/kernel/asm-offsets.s
In file included from include/asm-xen/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h:11:...
2005 Oct 06
3
Xen unstable/SuSE 9.3 install issue
Hi,
I have successfully installed Xen unstable binary on SuSE 9.3. I am trying
to do a source install and I got the following error. Will be glad for any
help or guidance.
In file included from include/asm-xen/asm/processor.h:18,
from include/asm/thread_info.h:17,
from include/linux/thread_info.h:21,
from include/linux/spinlock.h:12,
from include/linux/capability.h:45,
from include/linux/sched.h:7,
from arch/i386/kernel/asm-offsets.c:7:
include/asm-xen/asm/system.h: In function `__cmpxchg'':
include/asm-xen/asm/system.h:256: error: `LOCK'...
2019 Sep 11
0
[vhost:linux-next 16/17] include/linux/page_reporting.h:9:34: note: in expansion of macro 'pageblock_order'
...# save the attached .config to linux build tree
GCC_VERSION=7.4.0 make.cross ARCH=riscv
If you fix the issue, kindly add following tag
Reported-by: kbuild test robot <lkp at intel.com>
All warnings (new ones prefixed by >>):
In file included from arch/riscv/include/asm/thread_info.h:11:0,
from include/linux/thread_info.h:38,
from include/asm-generic/preempt.h:5,
from ./arch/riscv/include/generated/asm/preempt.h:1,
from include/linux/preempt.h:78,
from include/linux/radix-tree....
2008 Sep 29
3
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
Does anyone succeed at compiling Linux kernel for Sparc v8 architecture?
I am currently trying to expand the regime of LLVM to Sparc kernel codes.
The following is the initial error messages. Any comment is welcomed.
#1. Inline Assembly
Code:
register struct thread_info *current_thread_info_reg asm("g6");
Error Message:
include/asm/thread_info.h:77: error: invalid register name for
'current_thread_info_reg'
#2. Link error for single C file
Error Message:
/tmp/ccQBRbb6.s:2226: Error: symbol `lstat64' is already defined
/tm...
2007 Apr 18
2
[PATCH] exec-shield style vdso move.
...obviously.
Linus
====
Name: Move vsyscall page out of fixmap into normal vma as per mmap
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rather than move the stack down, use get_unmapped_area for the
vsyscall page, as the exec-shield patch does. This means we need a
pointer in the thread_info, too.
This steals half of the code from Gerd Hoffmann's patch which moves
out of fixmap, and most of the rest from Ingo Molnar's exec-shield
patch for 2.6.16.
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .23560-linux-2.6.17-rc4-git3/arch/...
2007 Apr 18
2
[PATCH] exec-shield style vdso move.
...obviously.
Linus
====
Name: Move vsyscall page out of fixmap into normal vma as per mmap
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Rather than move the stack down, use get_unmapped_area for the
vsyscall page, as the exec-shield patch does. This means we need a
pointer in the thread_info, too.
This steals half of the code from Gerd Hoffmann's patch which moves
out of fixmap, and most of the rest from Ingo Molnar's exec-shield
patch for 2.6.16.
diff -urpN --exclude TAGS -X /home/rusty/devel/kernel/kernel-patches/current-dontdiff --minimal .23560-linux-2.6.17-rc4-git3/arch/...
2007 Jun 06
0
[PATCH UPDATE] xen: use iret directly where possible
...++++++-
arch/i386/xen/xen-ops.h | 1
5 files changed, 199 insertions(+), 5 deletions(-)
===================================================================
--- a/arch/i386/kernel/asm-offsets.c
+++ b/arch/i386/kernel/asm-offsets.c
@@ -65,6 +65,7 @@ void foo(void)
OFFSET(TI_addr_limit, thread_info, addr_limit);
OFFSET(TI_restart_block, thread_info, restart_block);
OFFSET(TI_sysenter_return, thread_info, sysenter_return);
+ OFFSET(TI_cpu, thread_info, cpu);
BLANK();
OFFSET(GDS_size, Xgt_desc_struct, size);
===================================================================
--- a/arc...
2007 Jun 06
0
[PATCH UPDATE] xen: use iret directly where possible
...++++++-
arch/i386/xen/xen-ops.h | 1
5 files changed, 199 insertions(+), 5 deletions(-)
===================================================================
--- a/arch/i386/kernel/asm-offsets.c
+++ b/arch/i386/kernel/asm-offsets.c
@@ -65,6 +65,7 @@ void foo(void)
OFFSET(TI_addr_limit, thread_info, addr_limit);
OFFSET(TI_restart_block, thread_info, restart_block);
OFFSET(TI_sysenter_return, thread_info, sysenter_return);
+ OFFSET(TI_cpu, thread_info, cpu);
BLANK();
OFFSET(GDS_size, Xgt_desc_struct, size);
===================================================================
--- a/arc...
2007 Jun 04
1
[PATCH] xen: use iret directly where possible
...++++++-
arch/i386/xen/xen-ops.h | 1
5 files changed, 181 insertions(+), 5 deletions(-)
===================================================================
--- a/arch/i386/kernel/asm-offsets.c
+++ b/arch/i386/kernel/asm-offsets.c
@@ -65,6 +65,7 @@ void foo(void)
OFFSET(TI_addr_limit, thread_info, addr_limit);
OFFSET(TI_restart_block, thread_info, restart_block);
OFFSET(TI_sysenter_return, thread_info, sysenter_return);
+ OFFSET(TI_cpu, thread_info, cpu);
BLANK();
OFFSET(GDS_size, Xgt_desc_struct, size);
===================================================================
--- a/arc...
2007 Jun 04
1
[PATCH] xen: use iret directly where possible
...++++++-
arch/i386/xen/xen-ops.h | 1
5 files changed, 181 insertions(+), 5 deletions(-)
===================================================================
--- a/arch/i386/kernel/asm-offsets.c
+++ b/arch/i386/kernel/asm-offsets.c
@@ -65,6 +65,7 @@ void foo(void)
OFFSET(TI_addr_limit, thread_info, addr_limit);
OFFSET(TI_restart_block, thread_info, restart_block);
OFFSET(TI_sysenter_return, thread_info, sysenter_return);
+ OFFSET(TI_cpu, thread_info, cpu);
BLANK();
OFFSET(GDS_size, Xgt_desc_struct, size);
===================================================================
--- a/arc...
2007 Jun 04
1
[PATCH] xen: use iret directly where possible
...++++++-
arch/i386/xen/xen-ops.h | 1
5 files changed, 181 insertions(+), 5 deletions(-)
===================================================================
--- a/arch/i386/kernel/asm-offsets.c
+++ b/arch/i386/kernel/asm-offsets.c
@@ -65,6 +65,7 @@ void foo(void)
OFFSET(TI_addr_limit, thread_info, addr_limit);
OFFSET(TI_restart_block, thread_info, restart_block);
OFFSET(TI_sysenter_return, thread_info, sysenter_return);
+ OFFSET(TI_cpu, thread_info, cpu);
BLANK();
OFFSET(GDS_size, Xgt_desc_struct, size);
===================================================================
--- a/arc...
2018 Dec 10
1
[PATCH net 4/4] vhost: log dirty page correctly
...m-generic/getorder.h:__get_order
Cyclomatic Complexity 1 arch/x86/include/asm/atomic.h:arch_atomic_dec_and_test
Cyclomatic Complexity 1 include/asm-generic/atomic-instrumented.h:atomic_dec_and_test
Cyclomatic Complexity 1 include/linux/err.h:PTR_ERR
Cyclomatic Complexity 1 include/linux/thread_info.h:set_ti_thread_flag
Cyclomatic Complexity 1 include/linux/thread_info.h:check_object_size
Cyclomatic Complexity 5 include/linux/thread_info.h:check_copy_size
Cyclomatic Complexity 1 arch/x86/include/asm/preempt.h:preempt_count
Cyclomatic Complexity 1 include/linux/spinlock.h:spinlock_c...
2008 Sep 29
0
[LLVMdev] Linux Kernel Compile for Sparc v8 Arch
Does anyone succeed at compiling Linux kernel for Sparc v8 architecture?
I am currently trying to expand the regime of LLVM to Sparc kernel codes.
The following is the initial error messages. Any comment is welcomed.
#1. Inline Assembly
Code:
register struct thread_info *current_thread_info_reg asm("g6");
Error Message:
include/asm/thread_info.h:77: error: invalid register name for
'current_thread_info_reg'
#2. Link error for single C file
Error Message:
/tmp/ccQBRbb6.s:2226: Error: symbol `lstat64' is already defined
/tm...