kpatch-intermediate.h: fix comments

This commit is contained in:
Jessica Yu 2017-01-23 22:42:25 -08:00
parent 43f8683cd7
commit b0f5ded2b0

View File

@ -22,6 +22,8 @@
#ifndef _KPATCH_INTERMEDIATE_H_ #ifndef _KPATCH_INTERMEDIATE_H_
#define _KPATCH_INTERMEDIATE_H_ #define _KPATCH_INTERMEDIATE_H_
/* For .kpatch.{symbols,relocations,arch} sections */
struct kpatch_symbol { struct kpatch_symbol {
unsigned long src; unsigned long src;
unsigned long pos; unsigned long pos;
@ -30,7 +32,6 @@ struct kpatch_symbol {
char *objname; /* object to which this sym belongs */ char *objname; /* object to which this sym belongs */
}; };
/* For .kpatch.{symbols,relocations,arch} sections */
struct kpatch_relocation { struct kpatch_relocation {
unsigned long dest; unsigned long dest;
unsigned int type; unsigned int type;
@ -45,4 +46,4 @@ struct kpatch_arch {
unsigned long sec; unsigned long sec;
char *objname; char *objname;
}; };
#endif /* _KPATCH_ELF_H_ */ #endif /* _KPATCH_INTERMEDIATE_H_ */