Skip to content

Commit

Permalink
Merge branch 'merge'
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mackerras committed Apr 23, 2006
2 parents 55308c3 + d0e15be commit 916a3d5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion include/asm-powerpc/machdep.h
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,11 @@ extern struct machdep_calls *machine_id;

#define __machine_desc __attribute__ ((__section__ (".machine.desc")))

#define define_machine(name) struct machdep_calls mach_##name __machine_desc =
#define define_machine(name) \
extern struct machdep_calls mach_##name; \
EXPORT_SYMBOL(mach_##name); \
struct machdep_calls mach_##name __machine_desc =

#define machine_is(name) \
({ \
extern struct machdep_calls mach_##name \
Expand Down

0 comments on commit 916a3d5

Please sign in to comment.