Commit 218d4fb0 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

The params pointer itself is not volatile, only what it points to.

parent bba36ef0
...@@ -214,7 +214,7 @@ struct params { ...@@ -214,7 +214,7 @@ struct params {
* We declare this a volatile pointer, so that reads of parameters * We declare this a volatile pointer, so that reads of parameters
* become atomic, leaving the CLI thread lattitude to change the values * become atomic, leaving the CLI thread lattitude to change the values
*/ */
extern volatile struct params * volatile params; extern volatile struct params * params;
extern struct heritage heritage; extern struct heritage heritage;
void child_main(void); void child_main(void);
...@@ -71,7 +71,7 @@ ...@@ -71,7 +71,7 @@
#endif #endif
struct heritage heritage; struct heritage heritage;
volatile struct params * volatile params; volatile struct params *params;
unsigned d_flag = 0; unsigned d_flag = 0;
pid_t mgt_pid; pid_t mgt_pid;
struct vev_base *mgt_evb; struct vev_base *mgt_evb;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment