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

Commit c4c4594b authored by Chris Zankel's avatar Chris Zankel
Browse files

xtensa: clean up files to make them code-style compliant



Remove heading and trailing spaces, trim trailing lines, and wrap lines
that are longer than 80 characters.

Signed-off-by: default avatarChris Zankel <chris@zankel.net>
parent 72100ed7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -106,4 +106,3 @@ zImage: vmlinux
define archhelp
  @echo '* zImage      - Compressed kernel image (arch/xtensa/boot/images/zImage.*)'
endef
+8 −11
Original line number Diff line number Diff line
@@ -57,6 +57,3 @@ extern sysmem_info_t sysmem;

#endif
#endif


+0 −1
Original line number Diff line number Diff line
@@ -174,4 +174,3 @@
	__loop_cache_page \ar \as ihi XCHAL_ICACHE_LINEWIDTH

	.endm
+2 −1
Original line number Diff line number Diff line
@@ -104,7 +104,8 @@ static inline void __invalidate_icache_page_alias(unsigned long virt,
#define ARCH_IMPLEMENTS_FLUSH_DCACHE_PAGE 1
extern void flush_dcache_page(struct page*);
extern void flush_cache_range(struct vm_area_struct*, ulong, ulong);
extern void flush_cache_page(struct vm_area_struct*, unsigned long, unsigned long);
extern void flush_cache_page(struct vm_area_struct*,
			     unsigned long, unsigned long);

#else

+11 −8
Original line number Diff line number Diff line
@@ -36,7 +36,8 @@ asmlinkage __wsum csum_partial(const void *buff, int len, __wsum sum);
 * better 64-bit) boundary
 */

asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst, int len, __wsum sum,
asmlinkage __wsum csum_partial_copy_generic(const void *src, void *dst,
					    int len, __wsum sum,
					    int *src_err_ptr, int *dst_err_ptr);

/*
@@ -112,7 +113,8 @@ static __inline__ __sum16 ip_fast_csum(const void *iph, unsigned int ihl)
	/* Since the input registers which are loaded with iph and ihl
	   are modified, we must also specify them as outputs, or gcc
	   will assume they contain their original values. */
		: "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmp), "=&r" (endaddr)
		: "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (tmp),
		  "=&r" (endaddr)
		: "1" (iph), "2" (ihl)
		: "memory");

@@ -238,8 +240,9 @@ static __inline__ __sum16 csum_ipv6_magic(const struct in6_addr *saddr,
 *	Copy and checksum to user
 */
#define HAVE_CSUM_COPY_USER
static __inline__ __wsum csum_and_copy_to_user(const void *src, void __user *dst,
				    int len, __wsum sum, int *err_ptr)
static __inline__ __wsum csum_and_copy_to_user(const void *src,
					       void __user *dst, int len,
					       __wsum sum, int *err_ptr)
{
	if (access_ok(VERIFY_WRITE, dst, len))
		return csum_partial_copy_generic(src,dst,len,sum,NULL,err_ptr);
Loading