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
3030 unsigned long st_dev;
3131 ino_t st_ino;
3232 #ifdef __powerpc64__
33− unsigned short st_nlink;
33+ unsigned long st_nlink;
3434 mode_t st_mode;
3535 #else
3636 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