-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
yaml --- r: 650 b: refs/heads/master c: 1b29f9d h: refs/heads/master v: v3
- Loading branch information
Benjamin Herrenschmidt
authored and
Linus Torvalds
committed
May 1, 2005
1 parent
11a7569
commit c80bd1d
Showing
7 changed files
with
36 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
--- | ||
refs/heads/master: 085e6fc96bcf239cab8adc600aab2452d75590b1 | ||
refs/heads/master: 1b29f9d13e3cf0fe86bf7f82a3399c9e3caf58e5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/* | ||
* This supplies .note.* sections to go into the PT_NOTE inside the vDSO text. | ||
* Here we can supply some information useful to userland. | ||
*/ | ||
|
||
#include <linux/uts.h> | ||
#include <linux/version.h> | ||
|
||
#define ASM_ELF_NOTE_BEGIN(name, flags, vendor, type) \ | ||
.section name, flags; \ | ||
.balign 4; \ | ||
.long 1f - 0f; /* name length */ \ | ||
.long 3f - 2f; /* data length */ \ | ||
.long type; /* note type */ \ | ||
0: .asciz vendor; /* vendor name */ \ | ||
1: .balign 4; \ | ||
2: | ||
|
||
#define ASM_ELF_NOTE_END \ | ||
3: .balign 4; /* pad out section */ \ | ||
.previous | ||
|
||
ASM_ELF_NOTE_BEGIN(".note.kernel-version", "a", UTS_SYSNAME, 0) | ||
.long LINUX_VERSION_CODE | ||
ASM_ELF_NOTE_END |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
#include "../vdso32/note.S" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters