Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 187316
b: refs/heads/master
c: 15485a4
h: refs/heads/master
v: v3
  • Loading branch information
Dave Young authored and Linus Torvalds committed Mar 12, 2010
1 parent d8b5d39 commit 305a5e4
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5ed109103d73b0bafc92e860cead56725231384d
refs/heads/master: 15485a4682d1d3bfee2aa78b4b1a5d36f5746b64
3 changes: 3 additions & 0 deletions trunk/include/scsi/sg.h
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,9 @@ Major new features in SG 3.x driver (cf SG 2.x drivers)
(for the lk 2.2 series).
*/

#ifdef __KERNEL__
extern int sg_big_buff; /* for sysctl */
#endif

/* New interface introduced in the 3.x SG drivers follows */

Expand Down
7 changes: 3 additions & 4 deletions trunk/kernel/sysctl.c
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
#include <asm/stacktrace.h>
#include <asm/io.h>
#endif
#ifdef CONFIG_CHR_DEV_SG
#include <scsi/sg.h>
#endif


#if defined(CONFIG_SYSCTL)
Expand Down Expand Up @@ -116,10 +119,6 @@ static int min_percpu_pagelist_fract = 8;

static int ngroups_max = NGROUPS_MAX;

#ifdef CONFIG_CHR_DEV_SG
extern int sg_big_buff;
#endif

#ifdef CONFIG_SPARC
#include <asm/system.h>
#endif
Expand Down

0 comments on commit 305a5e4

Please sign in to comment.