Skip to content

Commit

Permalink
Merge branch 'for-linus' of git://www.linux-m32r.org/git/takata/linux…
Browse files Browse the repository at this point in the history
…-2.6_dev

* 'for-linus' of git://www.linux-m32r.org/git/takata/linux-2.6_dev:
  m32r: use __stringify() macro in assembler.h
  m32r: build fix for __stringify macro
  • Loading branch information
Linus Torvalds committed May 2, 2009
2 parents 65fd210 + 9cd6724 commit 912e779
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 0 additions & 1 deletion arch/m32r/boot/compressed/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

targets := vmlinux vmlinux.bin vmlinux.bin.gz head.o misc.o \
piggy.o vmlinux.lds
EXTRA_AFLAGS := -traditional

OBJECTS = $(obj)/head.o $(obj)/misc.o

Expand Down
7 changes: 4 additions & 3 deletions arch/m32r/include/asm/assembler.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@
* This file contains M32R architecture specific macro definitions.
*/

#include <linux/stringify.h>

#undef __STR

#ifndef __STR
#ifdef __ASSEMBLY__
#define __STR(x) x
#else
#define __STR(x) #x
#define __STR(x) __stringify(x)
#endif
#endif /* __STR */

#ifdef CONFIG_SMP
#define M32R_LOCK __STR(lock)
Expand Down
2 changes: 0 additions & 2 deletions arch/m32r/kernel/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,3 @@ obj-y := process.o entry.o traps.o align.o irq.o setup.o time.o \

obj-$(CONFIG_SMP) += smp.o smpboot.o
obj-$(CONFIG_MODULES) += module.o

EXTRA_AFLAGS := -traditional

0 comments on commit 912e779

Please sign in to comment.