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
77dd8f26
Commit
77dd8f26
authored
Feb 29, 2004
by
Linus Torvalds
Browse files
Options
Browse Files
Download
Plain Diff
Merge
bk://kernel.bkbits.net/davem/sparc-2.6
into ppc970.osdl.org:/home/torvalds/v2.5/linux
parents
52c785da
d16bb53b
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
31 additions
and
17 deletions
+31
-17
arch/m68k/kernel/setup.c
arch/m68k/kernel/setup.c
+0
-1
arch/sparc/kernel/setup.c
arch/sparc/kernel/setup.c
+0
-1
arch/sparc64/Kconfig
arch/sparc64/Kconfig
+9
-0
arch/sparc64/defconfig
arch/sparc64/defconfig
+1
-1
arch/sparc64/mm/init.c
arch/sparc64/mm/init.c
+0
-10
include/asm-sparc64/thread_info.h
include/asm-sparc64/thread_info.h
+21
-4
No files found.
arch/m68k/kernel/setup.c
View file @
77dd8f26
...
...
@@ -39,7 +39,6 @@
#endif
#ifdef CONFIG_SUN3X
#include <asm/dvma.h>
extern
void
sun_serial_setup
(
void
);
#endif
unsigned
long
m68k_machtype
;
...
...
arch/sparc/kernel/setup.c
View file @
77dd8f26
...
...
@@ -233,7 +233,6 @@ extern char cputypval;
extern
unsigned
long
start
,
end
;
extern
void
panic_setup
(
char
*
,
int
*
);
extern
void
srmmu_end_memory
(
unsigned
long
,
unsigned
long
*
);
extern
void
sun_serial_setup
(
void
);
extern
unsigned
short
root_flags
;
extern
unsigned
short
root_dev
;
...
...
arch/sparc64/Kconfig
View file @
77dd8f26
...
...
@@ -633,6 +633,15 @@ config DEBUG_KERNEL
Say Y here if you are developing drivers or trying to debug and
identify kernel problems.
config DEBUG_STACK_USAGE
bool "Enable stack utilization instrumentation"
depends on DEBUG_KERNEL
help
Enables the display of the minimum amount of free stack which each
task has ever had available in the sysrq-T and sysrq-P debug output.
This option will slow down process creation somewhat.
config DEBUG_SLAB
bool "Debug memory allocations"
depends on DEBUG_KERNEL
...
...
arch/sparc64/defconfig
View file @
77dd8f26
...
...
@@ -905,7 +905,6 @@ CONFIG_IRDA_FAST_RR=y
#
# Old SIR device drivers
#
# CONFIG_IRPORT_SIR is not set
#
# Old Serial dongle support
...
...
@@ -1657,6 +1656,7 @@ CONFIG_OPROFILE=m
# Kernel hacking
#
CONFIG_DEBUG_KERNEL=y
# CONFIG_DEBUG_STACK_USAGE is not set
# CONFIG_DEBUG_SLAB is not set
CONFIG_MAGIC_SYSRQ=y
# CONFIG_DEBUG_SPINLOCK is not set
...
...
arch/sparc64/mm/init.c
View file @
77dd8f26
...
...
@@ -1423,7 +1423,6 @@ unsigned long __init bootmem_init(unsigned long *pages_avail)
/* paging_init() sets up the page tables */
extern
void
sun_serial_setup
(
void
);
extern
void
cheetah_ecache_flush_init
(
void
);
static
unsigned
long
last_valid_pfn
;
...
...
@@ -1548,15 +1547,6 @@ void __init paging_init(void)
inherit_locked_prom_mappings
(
1
);
#ifdef CONFIG_SUN_SERIAL
/* This does not logically belong here, but we need to call it at
* the moment we are able to use the bootmem allocator. This _has_
* to be done after the prom_mappings above so since
* __alloc_bootmem() doesn't work correctly until then.
*/
sun_serial_setup
();
#endif
/* We only created DTLB mapping of this stuff. */
spitfire_flush_dtlb_nucleus_page
(
alias_base
);
if
(
second_alias_page
)
...
...
include/asm-sparc64/thread_info.h
View file @
77dd8f26
...
...
@@ -142,13 +142,30 @@ register struct thread_info *current_thread_info_reg asm("g6");
/* thread information allocation */
#if PAGE_SHIFT == 13
#define alloc_thread_info(tsk)((struct thread_info *)__get_free_pages(GFP_KERNEL, 1))
#define free_thread_info(ti) free_pages((unsigned long)(ti),1)
#define __THREAD_INFO_ORDER 1
#else
/* PAGE_SHIFT == 13 */
#define alloc_thread_info(tsk)((struct thread_info *)__get_free_pages(GFP_KERNEL, 0))
#define free_thread_info(ti) free_pages((unsigned long)(ti),0)
#define __THREAD_INFO_ORDER 0
#endif
/* PAGE_SHIFT == 13 */
#ifdef CONFIG_DEBUG_STACK_USAGE
#define alloc_thread_info(tsk) \
({ \
struct thread_info *ret; \
\
ret = (struct thread_info *) \
__get_free_pages(GFP_KERNEL, __THREAD_INFO_ORDER); \
if (ret) \
memset(ret, 0, PAGE_SIZE<<__THREAD_INFO_ORDER); \
ret; \
})
#else
#define alloc_thread_info(tsk) \
((struct thread_info *)__get_free_pages(GFP_KERNEL, __THREAD_INFO_ORDER))
#endif
#define free_thread_info(ti) \
free_pages((unsigned long)(ti),__THREAD_INFO_ORDER)
#define __thread_flag_byte_ptr(ti) \
((unsigned char *)(&((ti)->flags)))
#define __cur_thread_flag_byte_ptr __thread_flag_byte_ptr(current_thread_info())
...
...
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