This will allow it to be built for microwatt out of tree

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
This commit is contained in:
Benjamin Herrenschmidt 2019-09-23 08:39:25 +02:00 committed by Florent Kermarrec
parent c28086cde8
commit 735ea196dd
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ __attribute__((unused)) static void cdelay(int i)
__asm__ volatile("nop");
#elif defined (__rocket__)
__asm__ volatile("nop");
#elif defined (__powerpc__)
__asm__ volatile("nop");
#else
#error Unsupported architecture
#endif