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
Kirill Smelkov
linux
Commits
8f5022a1
Commit
8f5022a1
authored
Apr 22, 2002
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove remnants of compile-time PGE configuration, all the real work
was already done based on CPU capabilities at run-time
parent
485f6629
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
0 additions
and
23 deletions
+0
-23
arch/i386/config.in
arch/i386/config.in
+0
-4
include/asm-i386/bugs.h
include/asm-i386/bugs.h
+0
-8
include/asm-i386/pgtable.h
include/asm-i386/pgtable.h
+0
-4
include/asm-i386/tlbflush.h
include/asm-i386/tlbflush.h
+0
-7
No files found.
arch/i386/config.in
View file @
8f5022a1
...
@@ -88,7 +88,6 @@ if [ "$CONFIG_M686" = "y" ]; then
...
@@ -88,7 +88,6 @@ if [ "$CONFIG_M686" = "y" ]; then
define_int CONFIG_X86_L1_CACHE_SHIFT 5
define_int CONFIG_X86_L1_CACHE_SHIFT 5
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_PGE y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
define_bool CONFIG_X86_PPRO_FENCE y
define_bool CONFIG_X86_PPRO_FENCE y
fi
fi
...
@@ -96,14 +95,12 @@ if [ "$CONFIG_MPENTIUMIII" = "y" ]; then
...
@@ -96,14 +95,12 @@ if [ "$CONFIG_MPENTIUMIII" = "y" ]; then
define_int CONFIG_X86_L1_CACHE_SHIFT 5
define_int CONFIG_X86_L1_CACHE_SHIFT 5
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_PGE y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
fi
fi
if [ "$CONFIG_MPENTIUM4" = "y" ]; then
if [ "$CONFIG_MPENTIUM4" = "y" ]; then
define_int CONFIG_X86_L1_CACHE_SHIFT 7
define_int CONFIG_X86_L1_CACHE_SHIFT 7
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_PGE y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
fi
fi
if [ "$CONFIG_MK6" = "y" ]; then
if [ "$CONFIG_MK6" = "y" ]; then
...
@@ -117,7 +114,6 @@ if [ "$CONFIG_MK7" = "y" ]; then
...
@@ -117,7 +114,6 @@ if [ "$CONFIG_MK7" = "y" ]; then
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_TSC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_GOOD_APIC y
define_bool CONFIG_X86_USE_3DNOW y
define_bool CONFIG_X86_USE_3DNOW y
define_bool CONFIG_X86_PGE y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
define_bool CONFIG_X86_USE_PPRO_CHECKSUM y
fi
fi
if [ "$CONFIG_MELAN" = "y" ]; then
if [ "$CONFIG_MELAN" = "y" ]; then
...
...
include/asm-i386/bugs.h
View file @
8f5022a1
...
@@ -178,14 +178,6 @@ static void __init check_config(void)
...
@@ -178,14 +178,6 @@ static void __init check_config(void)
panic
(
"Kernel compiled for Pentium+, requires TSC feature!"
);
panic
(
"Kernel compiled for Pentium+, requires TSC feature!"
);
#endif
#endif
/*
* If we configured ourselves for PGE, we'd better have it.
*/
#ifdef CONFIG_X86_PGE
if
(
!
cpu_has_pge
)
panic
(
"Kernel compiled for PPro+, requires PGE feature!"
);
#endif
/*
/*
* If we were told we had a good local APIC, check for buggy Pentia,
* If we were told we had a good local APIC, check for buggy Pentia,
* i.e. all B steppings and the C2 stepping of P54C when using their
* i.e. all B steppings and the C2 stepping of P54C when using their
...
...
include/asm-i386/pgtable.h
View file @
8f5022a1
...
@@ -139,9 +139,6 @@ extern void pgtable_cache_init(void);
...
@@ -139,9 +139,6 @@ extern void pgtable_cache_init(void);
#define __PAGE_KERNEL_RO \
#define __PAGE_KERNEL_RO \
(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED)
(_PAGE_PRESENT | _PAGE_DIRTY | _PAGE_ACCESSED)
#ifdef CONFIG_X86_PGE
# define MAKE_GLOBAL(x) __pgprot((x) | _PAGE_GLOBAL)
#else
# define MAKE_GLOBAL(x) \
# define MAKE_GLOBAL(x) \
({ \
({ \
pgprot_t __ret; \
pgprot_t __ret; \
...
@@ -152,7 +149,6 @@ extern void pgtable_cache_init(void);
...
@@ -152,7 +149,6 @@ extern void pgtable_cache_init(void);
__ret = __pgprot(x); \
__ret = __pgprot(x); \
__ret; \
__ret; \
})
})
#endif
#define PAGE_KERNEL MAKE_GLOBAL(__PAGE_KERNEL)
#define PAGE_KERNEL MAKE_GLOBAL(__PAGE_KERNEL)
#define PAGE_KERNEL_RO MAKE_GLOBAL(__PAGE_KERNEL_RO)
#define PAGE_KERNEL_RO MAKE_GLOBAL(__PAGE_KERNEL_RO)
...
...
include/asm-i386/tlbflush.h
View file @
8f5022a1
...
@@ -37,12 +37,6 @@
...
@@ -37,12 +37,6 @@
extern
unsigned
long
pgkern_mask
;
extern
unsigned
long
pgkern_mask
;
/*
* Do not check the PGE bit unnecesserily if this is a PPro+ kernel.
*/
#ifdef CONFIG_X86_PGE
# define __flush_tlb_all() __flush_tlb_global()
#else
# define __flush_tlb_all() \
# define __flush_tlb_all() \
do { \
do { \
if (cpu_has_pge) \
if (cpu_has_pge) \
...
@@ -50,7 +44,6 @@ extern unsigned long pgkern_mask;
...
@@ -50,7 +44,6 @@ extern unsigned long pgkern_mask;
else \
else \
__flush_tlb(); \
__flush_tlb(); \
} while (0)
} while (0)
#endif
#ifndef CONFIG_X86_INVLPG
#ifndef CONFIG_X86_INVLPG
#define __flush_tlb_one(addr) __flush_tlb()
#define __flush_tlb_one(addr) __flush_tlb()
...
...
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