GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — types: Complement the aligned types with signed 64-bit one · liom/BPI-Router-Linux@afe8849

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • include
    • linux
      • types.h
    • uapi/linux
      • types.h
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎include/linux/types.h‎

Copy file name to clipboardExpand all lines: include/linux/types.h
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,9 @@ typedef u64 u_int64_t;
115115
typedef s64 int64_t;
116116
#endif
117117

118-
/* this is a special 64bit data type that is 8-byte aligned */
118+
/* These are the special 64-bit data types that are 8-byte aligned */
119119
#define aligned_u64 __aligned_u64
120+
#define aligned_s64 __aligned_s64
120121
#define aligned_be64 __aligned_be64
121122
#define aligned_le64 __aligned_le64
122123

Collapse file

‎include/uapi/linux/types.h‎

Copy file name to clipboardExpand all lines: include/uapi/linux/types.h
+1Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@ typedef __u32 __bitwise __wsum;
5353
* No conversions are necessary between 32-bit user-space and a 64-bit kernel.
5454
*/
5555
#define __aligned_u64 __u64 __attribute__((aligned(8)))
56+
#define __aligned_s64 __s64 __attribute__((aligned(8)))
5657
#define __aligned_be64 __be64 __attribute__((aligned(8)))
5758
#define __aligned_le64 __le64 __attribute__((aligned(8)))
5859

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.