Skip to content

Commit ae72758

Browse files
committed
c6x: fix build failure caused by cache.h
A patch to linux/irqflags.h uncovered a problem with c6x asm/cache.h which causes a build failure: /arch/c6x/include/asm/cache.h:63:20: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘c6x_cache_init’ extern void __init c6x_cache_init(void); The asm/cache.h was relying on linux/irqflags.h to pull in linux/init.h but the recent patch changed that. The c6x header should have included linux/init.h all along. Signed-off-by: Mark Salter <msalter@redhat.com>
1 parent d8ec26d commit ae72758

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎arch/c6x/include/asm/cache.h‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
#define _ASM_C6X_CACHE_H
1313

1414
#include <linux/irqflags.h>
15+
#include <linux/init.h>
1516

1617
/*
1718
* Cache line size

0 commit comments

Comments
 (0)