Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 80965
b: refs/heads/master
c: ab6e14b
h: refs/heads/master
i:
  80963: 2160e16
v: v3
  • Loading branch information
Ingo Molnar committed Jan 30, 2008
1 parent e11707c commit 47ab1f0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 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: 18fbef9e5242e146fe0264cf719a498785102841
refs/heads/master: ab6e14b712e2d8e0c4dd3cf1a72083b52104853a
6 changes: 4 additions & 2 deletions trunk/include/asm-ia64/percpu.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,20 @@

#include <linux/threads.h>

#ifdef CONFIG_SMP

#ifdef HAVE_MODEL_SMALL_ATTRIBUTE
# define PER_CPU_ATTRIBUTES __attribute__((__model__ (__small__)))
#endif

#ifdef CONFIG_SMP

#define __my_cpu_offset __ia64_per_cpu_var(local_per_cpu_offset)

extern void *per_cpu_init(void);

#else /* ! SMP */

#define PER_CPU_ATTRIBUTES __attribute__((__section__(".data.percpu")))

#define per_cpu_init() (__phys_per_cpu_start)

#endif /* SMP */
Expand Down

0 comments on commit 47ab1f0

Please sign in to comment.