Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
0d974d45
Commit
0d974d45
authored
Jan 18, 2009
by
Brian Gerst
Committed by
Tejun Heo
Jan 20, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
x86: remove pda.h
Impact: cleanup Signed-off-by:
Brian Gerst
<
brgerst@gmail.com
>
parent
947e76cd
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
0 additions
and
45 deletions
+0
-45
arch/x86/include/asm/pda.h
arch/x86/include/asm/pda.h
+0
-39
arch/x86/include/asm/pgtable_64.h
arch/x86/include/asm/pgtable_64.h
+0
-1
arch/x86/include/asm/smp.h
arch/x86/include/asm/smp.h
+0
-1
arch/x86/kernel/asm-offsets_64.c
arch/x86/kernel/asm-offsets_64.c
+0
-1
arch/x86/kernel/cpu/common.c
arch/x86/kernel/cpu/common.c
+0
-1
arch/x86/kernel/process_64.c
arch/x86/kernel/process_64.c
+0
-1
arch/x86/kernel/traps.c
arch/x86/kernel/traps.c
+0
-1
No files found.
arch/x86/include/asm/pda.h
deleted
100644 → 0
View file @
947e76cd
#ifndef _ASM_X86_PDA_H
#define _ASM_X86_PDA_H
#ifndef __ASSEMBLY__
#include <linux/stddef.h>
#include <linux/types.h>
#include <linux/cache.h>
#include <linux/threads.h>
#include <asm/page.h>
#include <asm/percpu.h>
/* Per processor datastructure. %gs points to it while the kernel runs */
struct
x8664_pda
{
unsigned
long
unused1
;
unsigned
long
unused2
;
unsigned
long
unused3
;
unsigned
long
unused4
;
int
unused5
;
unsigned
int
unused6
;
/* 36 was cpunumber */
short
in_bootmem
;
/* pda lives in bootmem */
}
____cacheline_aligned_in_smp
;
DECLARE_PER_CPU
(
struct
x8664_pda
,
__pda
);
#define cpu_pda(cpu) (&per_cpu(__pda, cpu))
#define read_pda(field) percpu_read(__pda.field)
#define write_pda(field, val) percpu_write(__pda.field, val)
#define add_pda(field, val) percpu_add(__pda.field, val)
#define sub_pda(field, val) percpu_sub(__pda.field, val)
#define or_pda(field, val) percpu_or(__pda.field, val)
/* This is not atomic against other CPUs -- CPU preemption needs to be off */
#define test_and_clear_bit_pda(bit, field) \
x86_test_and_clear_bit_percpu(bit, __pda.field)
#endif
#endif
/* _ASM_X86_PDA_H */
arch/x86/include/asm/pgtable_64.h
View file @
0d974d45
...
...
@@ -11,7 +11,6 @@
#include <asm/processor.h>
#include <linux/bitops.h>
#include <linux/threads.h>
#include <asm/pda.h>
extern
pud_t
level3_kernel_pgt
[
512
];
extern
pud_t
level3_ident_pgt
[
512
];
...
...
arch/x86/include/asm/smp.h
View file @
0d974d45
...
...
@@ -15,7 +15,6 @@
# include <asm/io_apic.h>
# endif
#endif
#include <asm/pda.h>
#include <asm/thread_info.h>
#include <asm/cpumask.h>
...
...
arch/x86/kernel/asm-offsets_64.c
View file @
0d974d45
...
...
@@ -11,7 +11,6 @@
#include <linux/hardirq.h>
#include <linux/suspend.h>
#include <linux/kbuild.h>
#include <asm/pda.h>
#include <asm/processor.h>
#include <asm/segment.h>
#include <asm/thread_info.h>
...
...
arch/x86/kernel/cpu/common.c
View file @
0d974d45
...
...
@@ -30,7 +30,6 @@
#include <asm/genapic.h>
#endif
#include <asm/pda.h>
#include <asm/pgtable.h>
#include <asm/processor.h>
#include <asm/desc.h>
...
...
arch/x86/kernel/process_64.c
View file @
0d974d45
...
...
@@ -47,7 +47,6 @@
#include <asm/processor.h>
#include <asm/i387.h>
#include <asm/mmu_context.h>
#include <asm/pda.h>
#include <asm/prctl.h>
#include <asm/desc.h>
#include <asm/proto.h>
...
...
arch/x86/kernel/traps.c
View file @
0d974d45
...
...
@@ -59,7 +59,6 @@
#ifdef CONFIG_X86_64
#include <asm/pgalloc.h>
#include <asm/proto.h>
#include <asm/pda.h>
#else
#include <asm/processor-flags.h>
#include <asm/arch_hooks.h>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment