Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80038
b: refs/heads/master
c: dbcb466
h: refs/heads/master
v: v3
  • Loading branch information
Glauber de Oliveira Costa authored and Ingo Molnar committed Jan 30, 2008
1 parent f5e3a29 commit 304e03c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cb38d377337cadd73fe4c582f77c5273685aeb71
refs/heads/master: dbcb4660246c240a159b4037067fdedb563a63cb
8 changes: 8 additions & 0 deletions trunk/include/asm-x86/processor.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ static inline void *current_text_addr(void)
return pc;
}

#ifdef CONFIG_X86_VSMP
#define ARCH_MIN_TASKALIGN (1 << INTERNODE_CACHE_SHIFT)
#define ARCH_MIN_MMSTRUCT_ALIGN (1 << INTERNODE_CACHE_SHIFT)
#else
#define ARCH_MIN_TASKALIGN 16
#define ARCH_MIN_MMSTRUCT_ALIGN 0
#endif

static inline void native_cpuid(unsigned int *eax, unsigned int *ebx,
unsigned int *ecx, unsigned int *edx)
{
Expand Down
1 change: 0 additions & 1 deletion trunk/include/asm-x86/processor_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ typedef struct {
unsigned long seg;
} mm_segment_t;

#define ARCH_MIN_TASKALIGN 16

#define INIT_THREAD { \
.sp0 = sizeof(init_stack) + (long)&init_stack, \
Expand Down
8 changes: 0 additions & 8 deletions trunk/include/asm-x86/processor_64.h
Original file line number Diff line number Diff line change
Expand Up @@ -117,14 +117,6 @@ struct orig_ist {
};
DECLARE_PER_CPU(struct orig_ist, orig_ist);

#ifdef CONFIG_X86_VSMP
#define ARCH_MIN_TASKALIGN (1 << INTERNODE_CACHE_SHIFT)
#define ARCH_MIN_MMSTRUCT_ALIGN (1 << INTERNODE_CACHE_SHIFT)
#else
#define ARCH_MIN_TASKALIGN 16
#define ARCH_MIN_MMSTRUCT_ALIGN 0
#endif

#define INIT_THREAD { \
.sp0 = (unsigned long)&init_stack + sizeof(init_stack) \
}
Expand Down

0 comments on commit 304e03c

Please sign in to comment.