Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be64c997 authored by Vineet Gupta's avatar Vineet Gupta
Browse files

ARC: remove extraneous __KERNEL__ guards

Verified by doing make headers_install as none of these files are
exported to userspace
parent ebc0c74e
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -9,8 +9,6 @@
#ifndef _ASM_ARC_ARCREGS_H
#define _ASM_ARC_ARCREGS_H

#ifdef __KERNEL__

/* Build Configuration Registers */
#define ARC_REG_DCCMBASE_BCR	0x61	/* DCCM Base Addr */
#define ARC_REG_CRC_BCR		0x62
@@ -321,6 +319,4 @@ extern struct cpuinfo_arc cpuinfo_arc700[];

#endif /* __ASEMBLY__ */

#endif /* __KERNEL__ */

#endif /* _ASM_ARC_ARCREGS_H */
+0 −4
Original line number Diff line number Diff line
@@ -9,8 +9,6 @@
#ifndef _ASM_ARC_ATOMIC_H
#define _ASM_ARC_ATOMIC_H

#ifdef __KERNEL__

#ifndef __ASSEMBLY__

#include <linux/types.h>
@@ -228,5 +226,3 @@ static inline void atomic_clear_mask(unsigned long mask, unsigned long *addr)
#endif

#endif

#endif
+0 −4
Original line number Diff line number Diff line
@@ -13,8 +13,6 @@
#error only <linux/bitops.h> can be included directly
#endif

#ifdef __KERNEL__

#ifndef __ASSEMBLY__

#include <linux/types.h>
@@ -508,6 +506,4 @@ static inline __attribute__ ((const)) int __ffs(unsigned long word)

#endif /* !__ASSEMBLY__ */

#endif /* __KERNEL__ */

#endif
+0 −4
Original line number Diff line number Diff line
@@ -12,8 +12,6 @@
#ifndef _ASM_ARC_CURRENT_H
#define _ASM_ARC_CURRENT_H

#ifdef __KERNEL__

#ifndef __ASSEMBLY__

#ifdef CONFIG_ARC_CURR_IN_REG
@@ -27,6 +25,4 @@ register struct task_struct *curr_arc asm("r25");

#endif /* ! __ASSEMBLY__ */

#endif	/* __KERNEL__ */

#endif /* _ASM_ARC_CURRENT_H */
+0 −4
Original line number Diff line number Diff line
@@ -15,8 +15,6 @@
 *  -Conditionally disable interrupts (if they are not enabled, don't disable)
*/

#ifdef __KERNEL__

#include <asm/arcregs.h>

/* status32 Reg bits related to Interrupt Handling */
@@ -169,6 +167,4 @@ static inline int arch_irqs_disabled(void)

#endif	/* __ASSEMBLY__ */

#endif	/* KERNEL */

#endif
Loading