Skip to content

Commit

Permalink
[CELL] spufs: remove section mismatch warning
Browse files Browse the repository at this point in the history
WARNING: arch/powerpc/platforms/cell/spufs/spufs.o(.init.text+0x158): Section
mismatch: reference to .exit.text:.spu_sched_exit (between '.init_module' and
'.spu_sched_init')

was introduced by c99c199
This patch removes the warning.

Cc: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>
  • Loading branch information
Sebastian Siewior authored and Arnd Bergmann committed Jul 20, 2007
1 parent ce21b3c commit d145031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/cell/spufs/sched.c
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ int __init spu_sched_init(void)
return err;
}

void __exit spu_sched_exit(void)
void spu_sched_exit(void)
{
struct spu *spu, *tmp;
int node;
Expand Down
2 changes: 1 addition & 1 deletion arch/powerpc/platforms/cell/spufs/spufs.h
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ void spu_set_timeslice(struct spu_context *ctx);
void spu_update_sched_info(struct spu_context *ctx);
void __spu_update_sched_info(struct spu_context *ctx);
int __init spu_sched_init(void);
void __exit spu_sched_exit(void);
void spu_sched_exit(void);

extern char *isolated_loader;

Expand Down

0 comments on commit d145031

Please sign in to comment.