History

powerpc: Fix size of st_nlink on 64bit

commit e57f93cc53b7 (powerpc: get rid of nlink_t uses, switch to explicitly-sized type) changed the size of st_nlink on ppc64 from a long to a short, resulting in boot failures.

Anton Blanchard committed 14 years ago

Commit 0fd7bee1 parent 86c47b71 file · +1 −1Browse files

Unified · Split

arch/powerpc/include/asm/stat.h+1−1
@@ -30,7 +30,7 @@ struct stat { · 29 unmodified lines
30 unsigned long st_dev;30 unsigned long st_dev;
31 ino_t st_ino;31 ino_t st_ino;
32#ifdef __powerpc64__32#ifdef __powerpc64__
33 unsigned short st_nlink;33 unsigned long st_nlink;
34 mode_t st_mode;34 mode_t st_mode;
35#else35#else
36 mode_t st_mode;36 mode_t st_mode;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t