Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 93437
b: refs/heads/master
c: 8c9843e
h: refs/heads/master
i:
  93435: 74e5d7d
v: v3
  • Loading branch information
Benjamin Herrenschmidt authored and Paul Mackerras committed Apr 24, 2008
1 parent 9759e5f commit 4aa330d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d32e21889b96e594e8b63b193bf7d2a51ab93ec
refs/heads/master: 8c9843e57a7d9d7a090d6467a0f1f3afb8031527
2 changes: 2 additions & 0 deletions trunk/include/linux/sched.h
Original file line number Diff line number Diff line change
Expand Up @@ -1926,6 +1926,8 @@ static inline unsigned long *end_of_stack(struct task_struct *p)

#endif

extern void thread_info_cache_init(void);

/* set thread flags in other task's structures
* - see asm/thread_info.h for TIF_xxxx flags available
*/
Expand Down
5 changes: 5 additions & 0 deletions trunk/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,10 @@ void __init __attribute__((weak)) smp_setup_processor_id(void)
{
}

void __init __weak thread_info_cache_init(void)
{
}

asmlinkage void __init start_kernel(void)
{
char * command_line;
Expand Down Expand Up @@ -645,6 +649,7 @@ asmlinkage void __init start_kernel(void)
if (efi_enabled)
efi_enter_virtual_mode();
#endif
thread_info_cache_init();
fork_init(num_physpages);
proc_caches_init();
buffer_init();
Expand Down

0 comments on commit 4aa330d

Please sign in to comment.